|
-
Feb 11th, 2001, 12:04 PM
#1
Thread Starter
New Member
I am very new to vb and trying to make a front for a database. I can print the access report using the code below but it prints all records and i just want to print the current record.
Private Sub Command2_Click()
Dim oApp As Object
Set oApp = GetObject("C:\windows\desktop\security\security.mdb", "access.application")
oApp.Visible = False
oApp.DoCmd.openReport "security"
End Sub
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|