richardplr
Registered User.
- Local time
- Tomorrow, 03:55
- Joined
- Jun 10, 2003
- Messages
- 239
Hi
I insert this code, but not working.
DoCmd.OpenReport stDocName, acPreview, , "[Requisitor] =" & Me.[Requisitor]
DoCmd.Maximize
DoCmd.RunCommand acCmdZoom75
I have a form with a preview button and when I click this button, I can preview the report of whatever ID that is on the form.
Example:
My main form show employee ID 4, if I click the preview button, it will go straight to the report of ID 4.
Please help
I insert this code, but not working.
DoCmd.OpenReport stDocName, acPreview, , "[Requisitor] =" & Me.[Requisitor]
DoCmd.Maximize
DoCmd.RunCommand acCmdZoom75
I have a form with a preview button and when I click this button, I can preview the report of whatever ID that is on the form.
Example:
My main form show employee ID 4, if I click the preview button, it will go straight to the report of ID 4.
Please help