Article ID: 190074 - Last Review: January 23, 2007 - Revision: 4.1 ACC97: Unable to Quit Microsoft AccessThis article was previously published under Q190074 On This PageSYMPTOMS When you try to quit Microsoft Access version 97, you find
that you are able to close the database, but you are unable to quit Microsoft
Access. Instead, Microsoft Access is minimized without generating any errors.
CAUSE You have code behind a subform control that references a
Boolean control such as a check box on the main form, and are using an If..Then
statement to implicitly test for a value of True, as shown in the following
example:
If Me.Parent![CheckBox] Then
MsgBox "true"
End If
RESOLUTION This problem can be resolved by modifying the code to
explicitly compare the control on the main form with a value such as True or
False. Using the example from the "Cause" section, the resolution would appear
as follows:
If Me.Parent![CheckBox] = True Then
MsgBox "true"
End If
STATUS Microsoft has confirmed this to be a problem in Microsoft
Access 97 MORE INFORMATIONSteps to Reproduce Problem
REFERENCES For additional information about other reasons Access may
not quit, click the following article number to view the article in the
Microsoft Knowledge Base: 164455
(http://support.microsoft.com/kb/164455/EN-US/
)
ACC: Problems Quitting Microsoft Access
| Article Translations
|

Back to the top
