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
 
Autoexec macro will work just fine. (Who says DOS
is dead... hahaha)
Thank you,
Bill
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top