All forms model/popup causes print preview hidden

D

David

I was told to make all my forms modal and popup to prevent the user accessing the toolbars. This works fine but when a print preview is done it goes behind the current form. Any way around this ???
 
T

tina

in the code that opens reports, you could add a line to make the current
form invisible, as

Me.Visible = False
DoCmd.OpenReport...

and then a line of code in the report's OnClose event procedure to show the
form again, as

Forms!MyForm.Visible = True

hth


David said:
I was told to make all my forms modal and popup to prevent the user
accessing the toolbars. This works fine but when a print preview is done it
goes behind the current form. Any way around this ???
 

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