View Full Version : Date Range


BlueGemini
05-25-2008, 05:53 PM
Hello,

Can somebody give me an idea on how to specify a date range in the reports? :confused:

boblarson
05-25-2008, 06:02 PM
check out my sample here on my website which opens a report based on a date range entered in a form:

http://downloads.btabdevelopment.com/Samples/dates/ReportAndForm.zip

BlueGemini
05-25-2008, 06:06 PM
check out my sample here on my website which opens a report based on a date range entered in a form:

http://downloads.btabdevelopment.com/Samples/dates/ReportAndForm.zip

Thanks! Got the idea now :D

boblarson
05-25-2008, 06:10 PM
Good, glad it could help. By the way, Welcome to Access World Forums! :)

BlueGemini
05-25-2008, 06:14 PM
Good, glad it could help. By the way, Welcome to Access World Forums! :)

Thanks!

Oh, one more thing if it is alright... in the particular table I'm working on, the date field has a time with it. I don't need the time so how can read only the dates :confused:

boblarson
05-25-2008, 06:21 PM
Set up the report so that it is based on a query and not the table. Then you can create your date field by using

MyNewDateField:Format([YourDateField],"m/d/yyyy")

and that field you can use for the criteria.

BlueGemini
05-25-2008, 06:23 PM
Set up the report so that it is based on a query and not the table. Then you can create your date field by using

MyNewDateField:Format([YourDateField],"m/d/yyyy")

and that field you can use for the criteria.

Ok, Thanks again! :D