Access 2003 Report goes to back after closing a form
Posted on 2014-02-12
I have an access 2003 database with a form and a sub form. on the subform there is a button that runs a macro. The macro opens a floating form that has several buttons on them to run specific reports, also via macros. These reports are all run from the same query, but different filters on each report. The reports pop up in a print preview.
So User clicks on button on sub form. New free floating report menu form pops up with several buttons. Print this building, print that building, etc . . .
Whatever report they choose displays in a print preview fine. The free floating report menu form is still there. If I close the free floating report menu form, it appears to close the report behind it as well. but it actually pushes the report back behind everything else. it's still open but the user cant see it. Then, if they clcik on the same specific button again it doesn't do anything because that report is already open.
I want to do the following.
Open form. Click on this report menu button on subform. click on one of the reports on the free floating report menu form, have the report open up and the free floating menu close automatically. OR have it stay up in foreground and have user close it. That;s fine too.just as log as the report stays on top when its done.
Hope I make sense.