Print Button

DREAMERMX

Registered User.
Local time
Yesterday, 21:49
Joined
Aug 14, 2013
Messages
20
Hi, I have a button on a FORM to print the current record with the following code:

DoCmd.RunCommand acCmdSelectRecord
DoCmd.PrintOut acSelection

But what I need is that before printing, open the preview to set the margins and page size ... or at least to pre-configure so that when you press the button, and comes preformatted

Thanks!
 
I use ac 2010 and use the Print preview option, if you have not tried it this is how:
With the form highlighted in the navigation column. Click File and then click Print and then select print preview ,
Hope this is of some us to you
 
While you can print the Form to get *control* over what you are printing use a Report. Then you can set it up any way you want and it will always print like that.
 

Users who are viewing this thread

Back
Top Bottom