Data Miss Match on report (1 Viewer)

ahmed_optom

Registered User.
Local time
Today, 00:37
Joined
Oct 27, 2016
Messages
93
Hi Everyone,

I have a simple report, one of the columns is a date. The report works fine, but if I right click the date and try to filter for example for today, it behaves in a weird way. It either comes up with a data miss match error in criteria expression, or just shows me some of the filtered records for that day.

Its as if the datatype is wrong, but i checked the table and it is a date/time.

It does seems to work correctly if i use the "between" filter, except for today, when i try to use that trick for today, it doesnt show me any records.
 

JHB

Have been here a while
Local time
Today, 01:37
Joined
Jun 17, 2012
Messages
7,732
..
It does seems to work correctly if i use the "between" filter, except for today, when i try to use that trick for today, it doesnt show me any records.
It sound like your date is both day and time, if yes then use the format function to get only the date.
 

Ranman256

Well-known member
Local time
Yesterday, 19:37
Joined
Apr 9, 2015
Messages
4,337
yeah, if time gets into the mix, it effects the BETWEEN.
 

Users who are viewing this thread

Top Bottom