AUTO OPEN code in Access?

  • Thread starter Thread starter norbert. beliso
  • Start date Start date
N

norbert. beliso

Please.
Is there an AUTO_OPEN code for Access 2000 & 2002
thats similar to Excels AUTO_OPEN.

I just want to write code that executes
when user opens up my Access program.

thank you.
 
There are few ways to accomplish this:

1. Create a macro named Autoexec, and from it add action RunCode which will
call your startup function, created in a module

or

2. Create a form to be startup form, go to menu Tools -> Startup, and select
it in Display form / Page dropdown list

HTH,
Bogdan
 
-----Original Message-----
Please.
Is there an AUTO_OPEN code for Access 2000 & 2002
thats similar to Excels AUTO_OPEN.

I just want to write code that executes
when user opens up my Access program.

thank you.
.
I would put the code in the On Activate event of the
first form that opens. If you go to Tools_Startup you can
select which form opens when the database opens.
 
Back
Top