Link to home
Start Free TrialLog in
Avatar of SteveL13
SteveL13Flag for United States of America

asked on

Why report preview appearing behind an open form?

I have a report preview that when opens appears BEHIND an open form.  If I click on the report it comes to the front.  Why would this be happening and can I make it open in front of the open form?
Avatar of gplana
gplana
Flag of Spain image

Check the popup property on your form. If it is set, then the form will be above. You should set it to false (and also the modal property too).

Hope it helps.
Avatar of SteveL13

ASKER

Both popup and modal are false.
change the code that open the report, with the option acdialog

like this

DoCmd.OpenReport "ReportName", acViewPreview, Windowmode:=acDialog
ASKER CERTIFIED SOLUTION
Avatar of mbizup
mbizup
Flag of Kazakhstan image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial