Hi Doman
a macro named AutoExec will execute when the database is
opened. I usually set it to MAXIMIZE and then RunCode. You
can specify any global function for RunCode.
As opposed to defining a Startup form under Tools, if I am
running code, I have the code open the startup form.
Also, in the Open event of a form, the form is not yet
"active" ... It is rendered on the LOAD event.
Warm Regards,
Crystal
MVP Microsoft Access
remote programming and training
strive4peace2006 at yahoo.com
*
Have an awesome day