Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Westi on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Autocenter a Report?

Status
Not open for further replies.

Jedi420

Programmer
Jun 21, 2002
184
US
Hi,

I am curious ... is there a way to auto-center reports?? Whenever I open my reports (manually or from code), they're always off center and usually focused on the bottom-right corner of the report. Any ideas or suggestions? Thnx! (^_^)

-Jedi420
 
hi,
i have the same problem, did you manage it ?
thanks,
gil
 
Open your report in design view. Select the "Format" tab. Set "Auto Center" to "Yes". Save the report.

HTH...

Ken S.
 
Hi Ken,
Thanks for your reply, however it seams that this property only available in access 2002 and my client have the 2000 version.
do you have an idea how to go around this problem ?
thanks again
gil
 
I'm sure there's a way to do it in code by determining the report's size relative to that of the Access window, then using the MoveSize method to position the report in the center. My brain is too fuzzy to try to figure it out this late at night, tho.

A quick and dirty work-around would be to open the report in design view, then drag it to the center of the window (or as close as you can eyeball it), then save the report, then close it. The last position of the report is saved with it, so it will open in the same spot next time.

Ken S.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top