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 Wanet Telecoms Ltd on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

resizing Forms after opening a reports in Preview

Status
Not open for further replies.
Feb 25, 2005
30
GB
Hi
Is there a way to stop a form altering size when a user click a button to open a report in Preview mode?

Once they close the report (and they often accident use the close button top right corner which closes the whole Database!). The report closes and the original Form has been reduced from its normal (Maximum) size.

Any advice would be appreciative.

regards
Rob
 
In the Activate event procedure of the form you may add this code:
DoCmd.Maximize

Hope This Helps, PH.
Want to get great answers to your Tek-Tips questions? Have a look at FAQ219-2884 or FAQ222-2244
 
Thanks PH for that, it works great. I would also like to say thanks to all for helping an Access newbie out over the last week with some pretty basic questions. Your help has been very much appreciated.

regards
Rob
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top