21-09-15, 11:25 AM
لاتنسى الريفرنس
'Add 1 reference to Microsoft Access X.0
Private Sub Command1_Click()
Dim ac As Access.Application
Set ac = New Access.Application
ac.OpenCurrentDatabase ("c:\my.mdb")
ac.DoCmd.OpenReport "ReportName", acViewNormal
ac.CloseCurrentDatabase
End Sub
بالتوفيق
'Add 1 reference to Microsoft Access X.0
Private Sub Command1_Click()
Dim ac As Access.Application
Set ac = New Access.Application
ac.OpenCurrentDatabase ("c:\my.mdb")
ac.DoCmd.OpenReport "ReportName", acViewNormal
ac.CloseCurrentDatabase
End Sub
بالتوفيق
سبحان الله والحمدلله ولا إله إلا الله والله أكبر
اللهم اغْفِرْ لِلمؤمنين والمؤمنات والمسلمين والمسلمات الأحياء منهم والأموات


