Run a module on startup???

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
 
S

ScottE

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
 

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