Query repeatedly asking for parameters

Thirith

Board Regular
Joined
Jun 9, 2009
Messages
118
I'm currently working towards a report for a database I put together. I've created a simple query with all the relevant values from the main table; since I want to be able to filter by date, I've added the following to the criteria field for SubmissionDate: "Between [Enter start date:] And [Enter end date:]".

This works fine the first time I run the query, but if I run it a second time and enter new values (or even the same ones), I keep getting asked to enter the start date and end date. I never actually get to the datasheet. If I click on "Cancel" instead, I get an empty list.

Any idea what might be the issue here? It seems pretty darn strange to me - but then I haven't really worked with query parameters in a long time.
 

Excel Facts

Format cells as time
Select range and press Ctrl+Shift+2 to format cells as time. (Shift 2 is the @ sign).

Forum statistics

Threads
1,214,643
Messages
6,120,702
Members
448,980
Latest member
CarlosWin

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top