Hi.
Doing a front end / back end with a starter db. The starter db checks for existence of front end on users system and the version. If the front end does not exist or is an old version it will create a directory (if needed) and copy the front end from a sharepoint to the users system. Then the starter db will start the front end on the users system and close itself.
The issue is macro enabling and trust center. My starter, and the front end both have autoexec macros. But I get errors when the autoexecs fire off because macro enable has not been hit yet and the db is not trusted.
How do I handle this? How can I delay the start of the autoexec until after macros are enabled?
I was thinking about having a table with a number_of_times_run field. If the number of times run is Zero... Then I would open a form to allow a delay, and have a command button that would fire off the true autoexec and change the number_of_times_run to One. Then I could check the field the next time run and since it would not be Zero, I would just run the true autoexec... What do you think? Any better suggestions?
Thanks.
Steve