Can't open report in preview if opened by Hyperlink

west

Registered User.
Local time
Yesterday, 17:45
Joined
Feb 11, 2010
Messages
25
I have a report that will open by clicking a hyperlink and I want it to open in preview mode. I tried using: "DoCmd.RunCommand (acCmdPrintPreview)" or "Report.CurrentView = 5" in the On Open event but, no success, I only get an error message.

I appreciate your comments.

-JC
 
Use DoCmd.OpenReport to open the report in Preview mode.
 

Users who are viewing this thread

Back
Top Bottom