How to open a report at certain coordinates??


G

Guest

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
 
Ad

Advertisements

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.
 
Ad

Advertisements

G

Guest

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.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top