Need to open report from a command button (1 Viewer)

M

msiren

Guest
If I use the "docmd openreport" it prints the report. I just want the command to open the report and then let the user decide to print or not print. Is there a preview command that I could use?
 

Carol

Registered User.
Local time
Today, 04:34
Joined
Jan 15, 2000
Messages
280
Make a Preview Button and on the On Click - Event Procedure use this code for previewing the report only.

Private Sub Preview_Click()

PrintReports acPreview

End Sub

The user can always print from the preview if required.
(Subject to any custom menu bars attached to the report)

Hope this helps.

[This message has been edited by Carol (edited 02-10-2000).]
 

Users who are viewing this thread

Top Bottom