|
-
Apr 8th, 2002, 11:28 PM
#1
Thread Starter
Lively Member
how to access report
hi friends,
can u tell me how to show access reports through vb
regards
ishikha
-
Apr 9th, 2002, 01:25 AM
#2
Hyperactive Member
'Give reference Microsoft Access 9.0 Object Library
Dim con As New Access.Application
Private Sub Command1_Click()
con.OpenCurrentDatabase ("C:\DataBase.mdb")
con.Visible = True
con.DoCmd.OpenReport reportname:="MyReport", view:=Access.acReadOnly
Set con = Nothing
End Sub
!!!NobodyisPerfect......IamNOBODY!!!
How's your wife and my kids?.....
Never argue with an idiot. They drag you down to their level then beat you with experience!
Child says : Mummy mummy, can i play with grandpa ?
Mum says : NO, you have already dug him up twice.
Galahtec The VB Forum
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
|