Access Startup properties

  • Thread starter Thread starter Bill
  • Start date Start date
B

Bill

I have an application that makes extensive use of the
"Switchboard" (nested). As such, the "Startup" properties
specifies the Switchboard as the initial form. What
I'd like to do is startup a general module that loads
the application installation properties and sets global variables
and then starts the Switchboard via DoCmd.OpenForm.

How do I give initial control to a general module?

Or, do I build a "once function" and put it in the OnOpen
of the switchboard's code sheet?

Thanks,
Bill
 
You could:
- Use a macro called Autoexec, which will automatically execute when the
database starts, use it to run your code and the load the Switchbord.
- Use the Open event of the form to run your code (as stated below).

Regards,
Andreas
 
Back
Top