|
-
Aug 31st, 2000, 07:20 AM
#1
Thread Starter
Lively Member
i need to open a report that i created in access 97 from a VB6 program and i need help,i need the code that will open a specific report in an mdb file .
10x
-
Aug 31st, 2000, 08:12 AM
#2
Hyperactive Member
Private Sub Command1_Click()
Dim a As Access.Application
Set a = CreateObject("Access.Application")
a.OpenCurrentDatabase App.Path & "\NWind.mdb"
a.Visible = True
a.DoCmd.OpenReport "Catalog", acViewPreview
a.DoCmd.Maximize
End Sub
That should do it for ya
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
|