Marshall Brooks
Member
- Local time
- Today, 10:32
- Joined
- Feb 28, 2023
- Messages
- 727
Lately, I've been getting the following message when I save my front end as an .accde. The error points to my autoexec macro - which only contains two lines:
OnError - GoTo Fail
RunCode AutoExec()
The second line runs the AutoExec function in my VBA module.
After I click okay, I get a pop-up that says Macro Single Step pointing to Macro Name: AutoExec, Action Name: OnError, Arguments: "2," <with the comma, without the quotes>, Error Number: 2046, and a button for "Stop All Macros". The buttons for Step and Continue are grayed out.
The .accde seems to be created and works fine, but I wasn't sure if it was safe to ignore this error and what might be causing it.
It's a fairly new error (to me), but I recently made a lot of changes to the front end (switchboard form, hiding the toolbars, hiding the nave pane, hiding the interface on loading, etc.)
My pre-release procedure is typically:
Thanks in advance!!!
OnError - GoTo Fail
RunCode AutoExec()
The second line runs the AutoExec function in my VBA module.
After I click okay, I get a pop-up that says Macro Single Step pointing to Macro Name: AutoExec, Action Name: OnError, Arguments: "2," <with the comma, without the quotes>, Error Number: 2046, and a button for "Stop All Macros". The buttons for Step and Continue are grayed out.
The .accde seems to be created and works fine, but I wasn't sure if it was safe to ignore this error and what might be causing it.
It's a fairly new error (to me), but I recently made a lot of changes to the front end (switchboard form, hiding the toolbars, hiding the nave pane, hiding the interface on loading, etc.)
My pre-release procedure is typically:
- Open the database with the decompile switch.
- Do a Compact and Repair with the shift-key bypass.
- Open VBE and compile.
- Do two more C&R's with the shift-key bypass.
- Save as .accde.
Thanks in advance!!!