"Currently Unable to Quit Access" Error 
Author Message
 "Currently Unable to Quit Access" Error

Currently developing a large application in (shudder) 2.0; when trying
to  quit using either DoMenuItem or DoCmd Quit methods, I receive a
"Currently unable to Quit Access" error. Any Ideas WHY??


THANKS!



Mon, 06 Mar 2000 03:00:00 GMT  
 "Currently Unable to Quit Access" Error

You are probably running inside a macro that can't be stopped at the certan
moment.
Assign a variable inside your code and then use this variable after your
code has executed, to determine if the appliction should Quit or not.

Inside your current macro
Dim lQuit
lQuit=True

In a new function
If lQuit Then DoCmd.Quit



Mon, 06 Mar 2000 03:00:00 GMT  
 
 [ 2 post ] 

 Relevant Pages 

1. "Unexpected error - quitting" error

2. VB 4.0 : "Unknown error;Quitting"

3. "Unexpected Error, Quitting" in VB4 program

4. Solution to "Unexpected Error - Quitting"

5. "unexpected error;quitting" message

6. ADO - "Unable to locate Provider" error

7. "Unable to connect" error

8. "Unable to display help" error message

9. Unable to load "Msdadc.dll" error

10. "Unable to access system registry"

11. "Unable To Access First Record"

12. Access 2000 Error - "Application Defined Error"

 

 
Powered by phpBB® Forum Software