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

Running Code/Modual when a MDB file is opened?

Status
Not open for further replies.

jmgibson

Technical User
Oct 1, 2002
81
0
0
US
I need to run a module when the access application is initially opened. When the application is opened, the module determines the screen resolution and opens the appropriate set of forms for the specific resolution setting. Is there an OnLoad event for the entire application? If so, how do I do that?
 
create a form and set that form as the startup form and in the form load event call the module you want. you might want to pass the form name to the module and close it from there
 
Click tools/startup. In there you can define which form opens at startup. just place some code in the open event for this form.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top