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!

Report Hiding Behind Form 1

Status
Not open for further replies.

jvhazelbaker

Programmer
Dec 15, 2004
38
US
I have a form with several buttons. When a button is clicked, the report print preview should appear, and it does, but it hides behind the form so the only way to view it is to close the form; the form must stay open. How can I get the report to move to the front without minimizing the form or closing it?
 
If the popup and modal properties of your form are set, that would prevent you from seeing it.

But, regardless, you could set the Visible property of the form to False when the Print Preview button is selected. And in the OnClose event of the report, make the form visible again.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top