I know somebody can help me - I'm trying to pull data off an AS400 database with Access 97 query. When I put the dates into the criteria line (and it gets automatically formatted with the #'s) like this:
Between #5/1/01# AND #5/1/02#
- it works just fine, but if I ask it to prompt me like this:
Between [Enter the Beginning Date] And [Enter the Ending Date]
- it pulls just the records from 5/1/01 and 5/1/02 (two days worth of records).
I've tried formatting the date ever which way, I've tried formatting the prompt variables like this:
Between ("#" & [Enter the Beginning Date] & "#"
And ("#" & [Enter the Ending Date]& "#"
- that didn't work. Someone please help me! I've spent way too much time on this!
Thanks,
Raphael Bernard
Between #5/1/01# AND #5/1/02#
- it works just fine, but if I ask it to prompt me like this:
Between [Enter the Beginning Date] And [Enter the Ending Date]
- it pulls just the records from 5/1/01 and 5/1/02 (two days worth of records).
I've tried formatting the date ever which way, I've tried formatting the prompt variables like this:
Between ("#" & [Enter the Beginning Date] & "#"
- that didn't work. Someone please help me! I've spent way too much time on this!
Thanks,
Raphael Bernard