DoCmd.PrintOut Event

TJBernard

Registered User.
Local time
Today, 11:37
Joined
Mar 28, 2002
Messages
176
Is there anyway to print preview when the DoCmd.PrintOut action is performed?

I have a database that is using the docmd.printout method to give a screen shot of a form, and the users want to print preview this, if possible.

Thank you,

T.J.
 
Rather than using DoCmd.PrintOut you could use:
Code:
DoCmd.OpenReport "ReportName" ,acViewPreview,,"[IDField] = " & Me.IDFieldControl

And design a report that looks just like your form. Forms in general aren't meant to be printed and your results can be less than optimal.
 

Users who are viewing this thread

Back
Top Bottom