date choice

pastorkc

Board Regular
Joined
Jan 29, 2020
Messages
125
Office Version
  1. 2010
Platform
  1. Windows
Is there a way in access either by query or report to have the user select a date range before the query is run? For example the user wants to run a report for a specific fiscal year.
 

Excel Facts

Control Word Wrap
Press Alt+Enter to move to a new row in a cell. Lets you control where the words wrap.
You are welcome.
Parameter queries are great tools for dynamic reports!
 
Upvote 0
Is there a way to make them pick a fiscal year when they click to run the report, instead of the query?
 
Upvote 0
Is there a way to make them pick a fiscal year when they click to run the report, instead of the query?
OK, I think you misunderstood how you do this.

You create the Parameter Query, and then use this Parameter Query as the Data Source of the Report.
Then, whenever they open/run the Report, they will be prompted to enter those values. They never have to go to the Query directly - they simply open/run the Report, and it all happens dynamically.
 
Upvote 0
OK, here is my query in design view were and how would I put the parameter because when I put it in the Fiscal_Year field it didn't work.
 

Attachments

  • Screenshot 2023-07-21 093627.png
    Screenshot 2023-07-21 093627.png
    33.1 KB · Views: 7
Upvote 0
I don't see the parameter under the Fiscal Year.
Can you show the screen print with what you tried?
 
Upvote 0

Forum statistics

Threads
1,224,885
Messages
6,181,574
Members
453,055
Latest member
cope7895

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