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 derfloh on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Access Window Hide & Reports issue

Status
Not open for further replies.

captdave311

Technical User
Jun 11, 2004
2
US
I am using code (found under a search on "basAccessHider" in website) to hide the access window when a form is opened. There is a button on the form that allows a user to view a report in print preview mode. When the report is opened, I have code unhiding the access window (for printing purposes). When the report is closed (using the "x" button), the code re-hides the access window, but the form is not reappearing. When I click on the access instance on my taskbar, the form and the access window are shown.

How can I make the form pop back up when the report is closed with the access window still hidden?

Thanks in advance!
 
on the OnClose event of the report (the "x" as you call it) you need to re open the form ie DOcmd.openform "Formname"

Cheers

Dean

I'd give my right arm to be ambidextrous!
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top