David Ball
Registered User.
- Local time
- Tomorrow, 06:03
- Joined
- Aug 9, 2010
- Messages
- 230
Hi,
I have a Command Button on a Form that opens a query. When the button is selected an “Enter Parameter Value” dialog box appears and the user types in a value and presses OK.
This works but it always displays the “Enter Parameter Value” dialogue box twice. I have to enter the value I want the first time, press Enter, then the box appears again and I enter the value I want to search by again. It then runs the query with no problems.
Also, If I press Cancel on the dialogue box I get a “Macro Single Step” window appear that shows an Error Number 2001?
In the Criteria row of the Query I have [Enter KPI Number], nothing else, so I am not sure what is causing the dialogue box to open twice.
Any idea why the Parameter dialogue box would be appearing twice?
Thanks very much
Dave
I have a Command Button on a Form that opens a query. When the button is selected an “Enter Parameter Value” dialog box appears and the user types in a value and presses OK.
This works but it always displays the “Enter Parameter Value” dialogue box twice. I have to enter the value I want the first time, press Enter, then the box appears again and I enter the value I want to search by again. It then runs the query with no problems.
Also, If I press Cancel on the dialogue box I get a “Macro Single Step” window appear that shows an Error Number 2001?
In the Criteria row of the Query I have [Enter KPI Number], nothing else, so I am not sure what is causing the dialogue box to open twice.
Any idea why the Parameter dialogue box would be appearing twice?
Thanks very much
Dave