G
Guest
Hello;
I have been trying to design a query in an access project by creating a form
to take in start and end dates for a field through calendar controls. In the
criteria for the date field I have put:
'BETWEEN "#" & [FORMS]![Discharge Date Range]![StartDate] & "#" and "#" &
[FORMS]![Discharge Date Range]![EndDate] & "#"'
I am getting this error when I do this:
'Data type error in expression.'
What am I doing wrong?
I have been trying to design a query in an access project by creating a form
to take in start and end dates for a field through calendar controls. In the
criteria for the date field I have put:
'BETWEEN "#" & [FORMS]![Discharge Date Range]![StartDate] & "#" and "#" &
[FORMS]![Discharge Date Range]![EndDate] & "#"'
I am getting this error when I do this:
'Data type error in expression.'
What am I doing wrong?