Margin Setup

Capilano

Registered User.
Local time
Today, 09:02
Joined
Feb 19, 2001
Messages
63
Inside one of my Reports, I have set the Top Margin using the following code on the OnOpen event...

Me.Report.Printer.TopMargin = 0

When I open the Report w/o previewing, the layout conforms great. However, when I preview the Report first, and print from inside the Report, the layout does NOT conform. I have already tried adding the same statement to the OnPrint, OnPage, and OnFormat events of the Report, but to no avail.

Any suggestions?
:confused:

Pat
 
Last edited:
open the preview and select file, page setup.
change the margins to what you want and then save the report.

i think it's that simple.
 

Users who are viewing this thread

Back
Top Bottom