close Print Preview causes form to open in full window

J

Jomark

I have a database with a main menu form that closes when a report is opened
in print preview. The report opens in small view and clicking on full view
the only way to then close the report is by pressing the close print preview
button.

I have code in the report that when it is closed the main menu form opens.
Clickng on the close button on the report when it is still small returns the
main menu form in its normal size. However when clicking on the close print
preview button the main menu form opens in full screen view.

is there any way to prevent this from happening so that the main menu form
opens in its normal size.

I am using Access 2007
 
A

Allen Browne

Use a macro in the form's Activate event.
The Restore action will put the form back in its own window.

(This assumes you have set up the database for windows, not tabbed
documents.)
 

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