View Full Version : parameter query problem


mcclaren
05-24-2009, 05:51 PM
Hello all
I created a query in Access 2007 that is the “call back list” for a large animal vet. The clients are to receive a call 7 days after the farm visit. The “callback date” field in the query uses a DateAdd function, adding 7 days to the “date of farm call” field (date format is MM/DD/YY). I then wanted to add the parameter criteria “between[start date] and [end date] to the callback date field, so that the receptionist could get a list of the call backs that she needs to make for a given time period.

The problem is that when I add the parameter criteria, only the “double digit” dates within the range are returned, ie. Only dates later than the 10th of the month are returned, the first to the 9th days of the month are not. Help please.

namliam
05-24-2009, 10:45 PM
Probably because your date fields are not dates but rather text fields. Check your table design.

mcclaren
05-25-2009, 05:05 AM
I tried that...the fields are all formated for date not text...any other suggestions?

namliam
05-25-2009, 05:39 AM
FORMATTED, yes may be... but is the field "Data type" also text?

If they are dates, then check your format and make sure you are looking at mm/dd/yyyy and not dd/mm/yyyy