When using database created in A2K in Access 2002 (aka AXP), using Access 2000 file format, when I close form using command button event procedure (a simple DoCmd.Close), I get bogus “Enter Parameter Value” prompt if there are any controls on form, such as a listbox or combo box, whose Row Source is a query or SQL statement that references the form in question as part of its criteria, e.g., Forms!ThisForm!SomeControl. If I close form with the Close Window “X” in upper right corner or the System Menu “Close” command in upper left corner this does not occur. It’s as if the DoCmd.Close command is somehow forcing a requery of the list or combo box. There’s no other code that runs when form is closed.
This is really more of an annoyance than anything else, because problem does not occur at work when running same program in A2K (we are still using A2K with WIN 98/WIN 2K); I can make modifications in AXP with no problems when program runs in A2K/WIN 98 environment. But would still like to know if anyone else has eXPerienced this bug & knows what is cause & how to fix it??