Notice: This website is an unofficial Microsoft Knowledge Base (hereinafter KB) archive and is intended to provide a reliable access to deleted content from Microsoft KB. All KB articles are owned by Microsoft Corporation. Read full disclaimer for more details.

BUG: Enter Parameter Value Dialog Box Appears While Trying to Close a Form Window


View products that this article applies to.

Symptoms

When you click the Exit button that runs the DoCmd.Close Microsoft Visual Basic for Applications (VBA) code, an Enter Parameter Value dialog box may appear. This occurs when you close a form window in Access that runs with the Windows XP operating system.

↑ Back to the top


Workaround

To work around this problem, perform one of the following tasks:
  • Click Close (X) in the upper right corner of the form window.
  • Click Restore Down in the upper right corner of the form window and then click Exit. This runs the DoCmd.Close VBA code.
  • Turn the Echo method off before you issue the Close statement. Then, turn the Echo on again. For example, change
    DoCmd.Close
    -to-
    DoCmd.Echo False
    DoCmd.Close
    DoCmd.Echo True

↑ Back to the top


Status

Microsoft has confirmed that this is a bug in the Microsoft products that are listed at the beginning of this article.

↑ Back to the top


References

For additional information, click the following article numbers to view the articles in the Microsoft Knowledge Base:
283166  ACC2000: You Are Prompted to Enter a Parameter Value for the Trim Function While Previewing a Mailing Label Report
301545   ACC2000: "Enter Parameter Value" Dialog Box Appears When You Run Query, Form, or Report
303134   ACC2002: "Enter Parameter Value" Dialog Box Appears When You Run a Query, a Form, or a Report
282360   ACC2002: "Enter Parameter Value" Dialog Box Displays Square Brackets Around Parameter "Name"
298877   ACC2002: Parameter Dialog Box Appears When You Run a Pasted Query
275063  ACC2002: Name AutoCorrect Does Not Repair Certain Form or Report Property Settings

↑ Back to the top


Keywords: kbbug, KB811860, kbbug, KB811860

↑ Back to the top

Article Info
Article ID : 811860
Revision : 4
Created on : 5/9/2003
Published on : 5/9/2003
Exists online : False
Views : 504