M
MarkInSalemOR
Is there a VBA alternative for the autoexec macro?
I have several databases I've created and I want to prevent unauthorized
persons from opening them. Currently I use an autoexec macro that fires a sub
Main, it evaluates some criteria and quits if the criteria is not met. I have
set the allowbypass keys property to false to prevent someone from holding
down the shift key.
My problem is I have a tendency to forget to put the macro in the file
before I make the mde. (I also don't care much for macros). It appears there
isn't a way to create a macro via VBA so I can't build myself a little helper
function to create the macro. If I can create a macro from VBA in Access 2000
please tell me how or point me to a web site.
So is there an undocumented startup property I can set?
Any way to get the startup options to expand to public routines instead of
being limited to just forms? VB6 gives the option of using a modMain this
way, I'd love to be able to do that. And don't suggest switching to VB6 it's
not an option. :-(
Or am I stuck with a longer check list when I deploy something?
Thanks
Mark
I have several databases I've created and I want to prevent unauthorized
persons from opening them. Currently I use an autoexec macro that fires a sub
Main, it evaluates some criteria and quits if the criteria is not met. I have
set the allowbypass keys property to false to prevent someone from holding
down the shift key.
My problem is I have a tendency to forget to put the macro in the file
before I make the mde. (I also don't care much for macros). It appears there
isn't a way to create a macro via VBA so I can't build myself a little helper
function to create the macro. If I can create a macro from VBA in Access 2000
please tell me how or point me to a web site.
So is there an undocumented startup property I can set?
Any way to get the startup options to expand to public routines instead of
being limited to just forms? VB6 gives the option of using a modMain this
way, I'd love to be able to do that. And don't suggest switching to VB6 it's
not an option. :-(
Or am I stuck with a longer check list when I deploy something?
Thanks
Mark