I'm having problems opening a form in the print preview screen from a command button. I can send it straight to the printer with docmd.printout but I would like the user to be able to see the preview first.
1. Create a command button, name that button 'cmdCurrentFormPreview'
2. Set 'Display When' property to 'Screen Only'
3. Inside cmdCurrentFormPreview's 'On Click' event, put this line:
DoCmd.OpenForm Me.Form.Name, acPreview
4. To print preview this current form, just click this cmdCurrentFormPreview button
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.