Startup Code

  • Thread starter Thread starter Claire
  • Start date Start date
C

Claire

Hi
Where does the startup code disappear to when you set a
database to start with a particular form, no database
window or menus etc?
 
What startup code are you talking about? Unless you have a macro named
AutoExec, then no startup code runs unless you call it from your startup
form.
 
Well, I was referring to the code that must be somewhere
that might tell Access to startup the database with the
Switchboard and the database window closed and none of the
toolbars available. All of this is readily available in
Tools, Options. Does this "code" get tied into a separate
database list like custom input masks and autocorrect
data??

Thanks
 
Click on Tools - Startup. You must tell Access which form to open, whether
you want the database window displayed, etc etc before. You can also build a
macro named AutoExec and perform whatever action you desire there, although
a startup form is more commong.
 
I still prefer the Autoexec macro.
Mine has a single Line which runs my AutoExec() function
That way, I can do things like checking and repairing references,
connections, environment & so on before anything serious happens.
The final line opens the "startup" form
 
Back
Top