|
-
Oct 31st, 1999, 03:03 PM
#1
Thread Starter
New Member
Hi All
Can Anyone help me with some Code?
I Would like to execute an MS Access Report, stored in the Report Tab in MS Access DB, from VB 5 Code and pass a From and a To Date Paramter to the Code/Report.
Could you email me directly to:
[email protected]
as my email has changed and I won't get a notification when you reply
Many Thanx
-
Oct 31st, 1999, 03:39 PM
#2
Addicted Member
Try follow code:
Code:
Dim Rep As Access.Application
Set Rep = New Access.Application
Rep.OpenCurrentDatabase("d:\db1.mdb")
Rep.DoCmd.OpenReport "Test1"
Rep.CloseCurrentDatabase
------------------
smalig
[email protected]
smalig.tripod.com
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
|