How to make Report Window on the top?

F

fox

Hi!
I have a report windows created by a from. However, after I create the
report, I don't want the from closed. If the from closed, I can't print the
report from the screen. If I didn't use the DoCmd.Close, the from stay, but
it always on Top(Active) windows. I still can't print the report which behind
the From Window. Is any tip to solve this question?

Thank you very much.

fox
 
J

John Spencer

Make the form invisible

Forms!Formname.Visible = False

That will hide the form, but it will still be open.

You can close the form (or make it visible again) in the close event of
the report.

'====================================================
John Spencer
Access MVP 2002-2005, 2007
Center for Health Program Development and Management
University of Maryland Baltimore County
'====================================================
 

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