ACC97: Unable to Quit Microsoft Access (190074)
The information in this article applies to:
This article was previously published under Q190074 SYMPTOMS 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 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
ACC: Problems Quitting Microsoft Access
Modification Type: | Major | Last Reviewed: | 9/26/2003 |
---|
Keywords: | kbbug kbpending KB190074 |
---|
|