How to open a report at certain coordinates??

M

Mike

Hi all,
I would like to open 4 reports but each to be positioned at certain
coordinates on the screen. Would someone let me know how this can be done?
Some sample coding would be great.

Thanks
Mike
 
F

fredg

Hi all,
I would like to open 4 reports but each to be positioned at certain
coordinates on the screen. Would someone let me know how this can be done?
Some sample coding would be great.

Thanks
Mike

Look up the MoveSize method in VBA help.
Coding the Report's Open event:
DoCmd.MoveSize 0,0 will position the report in the upper left corner
of the window.
DoCmd.MoveSize 4*1440,3*1440 will position the report 4 inches from
the left and 3 inches from the top of the window.

You can use the other arguments to set the height and width of the
report.

Of course you'll need to make sure there is room to display the
reports on the screen, and than none of the reports are maximized.
 
M

Mike

fredg said:
Look up the MoveSize method in VBA help.
Coding the Report's Open event:
DoCmd.MoveSize 0,0 will position the report in the upper left corner
of the window.
DoCmd.MoveSize 4*1440,3*1440 will position the report 4 inches from
the left and 3 inches from the top of the window.

You can use the other arguments to set the height and width of the
report.

Of course you'll need to make sure there is room to display the
reports on the screen, and than none of the reports are maximized.

Thanks Fred.
 
Top