Startup Code

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?
 
S

Scott McDaniel

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.
 
G

Guest

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
 
S

Scott McDaniel

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.
 
G

Greg Kraushaar

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
 

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

Top