Run a module on startup???

  • Thread starter Thread starter Iain
  • Start date Start date
I

Iain

I have converted a macro into some code.

Is their any way of getting this code to run automatically
on startup of the database? (eg, with a macro you would
call it autoexec and it would run on opening)

Any help would be appreciated
 
Set an autoexec macro to "runcode" specifying your
function name (macros don't like subs, and be sure to put
brackets after the function name, even if they are
empty). Or, call the code from the open event of any form
you load at startup.

Hope this helps!

- Scott
 
Back
Top