BACKGROUND:
-
My LO_Base.odb contains macros, and some of these macros are set to auto-run when the DB opens and/or is closed.
-
This is done by assigning a startup-macro to the “Open Document” event, and a closedown-macro to the “View is going to be closed” event:
LO_Base_Main_Window ==> Tools ==> Customize ==> [Events] Tab ==> (in there assign macros to corresponding events)
-
So, basically, my LO_Base.odb runs macro-code when it’s opened and closed.
-
After LO_Base crashed, the recovery process kicks in, when opening this DB the next time.
-
When the recovery process opens the DB, it also executes the macro assigned to the “Open Document” event, but it also looks like the 2 processes overlap.
-
The recovery process seems to still be ongoing, while the macro-code is already executing.
My concern is, that these concurrent 2 processes mess each other up in a rather unpredictable way (please correct me if this is an unjustified concern)
QUESTIONS:
- Is there a way to ignore assigned events during the recovery process only?
- Or would there be a way to delay assigned-events during the recovery process, so assigned macros only trigger after the recovery process was completed 100% ?