Hi Ajax, thanks for the prompt response
I have observed this behaviour for some period of time and it does seem to act consistently. I did wonder whether there was some unsaved module or syntax error in the code but I cannot see any evidence for this. The exit button is coded as "Exit Application" as supplied by the switchboard manager.
The switchboard table contains the following two (relevant) entries:SwitchboardID |
ItemNumber |
ItemText |
Command |
Argument |
1 |
1 |
EXIT DATABASE |
1 |
9 |
SwitchboardID |
ItemNumber |
ItemText |
Command |
Argument |
9 |
0 |
Exit Options |
0 |
|
9 |
1 |
Return to main menu |
1 |
1 |
9 |
2 |
IESIRE - Close database |
6 |
|
Then, looking at the vba for the switchboard form, Command 6 is shown as
Code:
Const conCmdExitApplication = 6
which then calls
Code:
' Exit the application.
Case conCmdExitApplication
Application.Quit acQuitPrompt
'CloseCurrentDatabase
I'll, add in your code snippet and report back.
Many thanks