In Tools | Startup on my database I specify a form name in the "Display Form" control. This, of course, opens that form when the database is opened without holding down the Shift key.
I have some coding that I want to bypass if I open the form from the Database Window while I'm working on the database. Is there any way to identify that a form was opened as part of the Startup options as opposed to being opened from the Database Window?
Likewise, can I tell if a form is opened from VBA code in an Event Procedure (other than setting OpenArgs or something) as opposed to being opened from the Database Window?
Cruising the Information Superhighway
(your mileage may vary)
I have some coding that I want to bypass if I open the form from the Database Window while I'm working on the database. Is there any way to identify that a form was opened as part of the Startup options as opposed to being opened from the Database Window?
Likewise, can I tell if a form is opened from VBA code in an Event Procedure (other than setting OpenArgs or something) as opposed to being opened from the Database Window?
![[shadeshappy] [shadeshappy] [shadeshappy]](/data/assets/smilies/shadeshappy.gif)
(your mileage may vary)