Hello all. I an trying to write what should be a simple query to pull data within a date range specified by the user. This should be easy enough with the bracketed prompt in the criteria.
However, the query uses the "DateSerial" function to change the format of the field to date formatted instead of text. During my filter tests, just typing in a filter of "05/01/2011" does not work. I have to manually put in the number signs to signify a date: "#05/01/2011#". Usually this happens automatically, but I guess Access doesn't recognize the DateSerial format until after the query runs.
So, is there a way to prompt the user for date input and have Access put the "#" in automatically? I suppose I could do two queries so that Access would recognize the field as a date, but I'm looking for efficiency here.
Thanx
However, the query uses the "DateSerial" function to change the format of the field to date formatted instead of text. During my filter tests, just typing in a filter of "05/01/2011" does not work. I have to manually put in the number signs to signify a date: "#05/01/2011#". Usually this happens automatically, but I guess Access doesn't recognize the DateSerial format until after the query runs.
So, is there a way to prompt the user for date input and have Access put the "#" in automatically? I suppose I could do two queries so that Access would recognize the field as a date, but I'm looking for efficiency here.
Thanx