sja13
Professional Idiot
- Local time
- Today, 23:10
- Joined
- May 3, 2017
- Messages
- 63
Hi again guys....
I use VBA to execute a standard Report, and am controlling various pop-up forms which the User uses to initiate the reports.
The Reports are always initially opened in "Print Preview" mode.
When the User closes the Print Preview, I make the Form which initiated the report reappear by making it visible. This is done in the Report_Close VBA.
However, if the User just wants to change the View of the Report, say from Print Preview to Report View, the initiating Form re-appears, because the Close sequence is invoked during the "Change View" sequence.
On Opening, we get
OPEN
LOAD
ACTIVATE
GOTFOCUS
On Close, we get
UNLOAD
LOSTFOCUS
DEACTIVATE
CLOSE
None of these seem to have parameters indication the "mode" the print is being viewed in.
When changing from Print Preview to Report View, Access seems to go through a Close and Open sequence.
Is there a way I can detect that the Close routine isn't a "final" close, but a transition to another viewing mode?
Any, help, hints, or pointers will be gratefully received....
I use VBA to execute a standard Report, and am controlling various pop-up forms which the User uses to initiate the reports.
The Reports are always initially opened in "Print Preview" mode.
When the User closes the Print Preview, I make the Form which initiated the report reappear by making it visible. This is done in the Report_Close VBA.
However, if the User just wants to change the View of the Report, say from Print Preview to Report View, the initiating Form re-appears, because the Close sequence is invoked during the "Change View" sequence.
On Opening, we get
OPEN
LOAD
ACTIVATE
GOTFOCUS
On Close, we get
UNLOAD
LOSTFOCUS
DEACTIVATE
CLOSE
None of these seem to have parameters indication the "mode" the print is being viewed in.
When changing from Print Preview to Report View, Access seems to go through a Close and Open sequence.
Is there a way I can detect that the Close routine isn't a "final" close, but a transition to another viewing mode?
Any, help, hints, or pointers will be gratefully received....