I have a MS access query which gets date from users and selects values based on it
SELECT *
FROM Table1
WHERE ((DateValue([Table1].[Date_col])
Between "#"&[Forms]![Frm1]![Date1]&"#"
and "#"&[Forms]![Frm1]![Date2]&"#"))
I’m getting empty output ?
Any idea friends?
You are converting the table’s column to a
DateValue(i.e. a number) and the others you are converting into strings with a leading and trailing#Either convert them all to dates:
or better still if they are already dates, just leave them: