Changing Criteria in a query using a form

jrock76

New member
Local time
Yesterday, 22:17
Joined
Jun 13, 2006
Messages
5
Hello,

I am working on a database which has many queries that count different statistics of clients (race,gender,ect) during specific date ranges. I would like to set up a form that you could go in and enter a date range into a text box and it would update the criteria (date range) for each of the queries. How would this be possible? I have looked at some past threads similar to this but they didn't help.

Any help will be greatly appreciated.
 
When obtaining criteria from a form the criteria references the form/textbox like so forms!formname!textboxname so it might be

Between Forms![Dateform]![startdate] And Forms![Dateform]![enddate]

Brian
 
Brian,

Thank you for responding. I tried what you said and I didn't get any values. It seems like all the threads are saying to do it the same way you did.I don't know what the problem is
 
I got it to work. Thank you very much for the help.
 
jrock76 said:
I got it to work. Thank you very much for the help.

Thats great, thanks for letting me know it saves me overworking the old grey matter:)

brian
 

Users who are viewing this thread

Back
Top Bottom