Hi I'm trying to Dcount *unique* records by comparing a date/time
field. I say *unique* because the field contains a date/time but I
need to ignore the timestamp and work off the date only.
I think the code below should work to count unique values in a normal
text field but the date/time is causing a lot of problems because it's
reading the timestamps to be different despite the "medium date"
formatting.
DCount("[classdate]", "attendance ", "classdate IN ( SELECT
FIRST(classdate ) FROM attendance GROUP BY classdate)")
Anyone got any ideas?
Thanks,
Ciarán
field. I say *unique* because the field contains a date/time but I
need to ignore the timestamp and work off the date only.
I think the code below should work to count unique values in a normal
text field but the date/time is causing a lot of problems because it's
reading the timestamps to be different despite the "medium date"
formatting.
DCount("[classdate]", "attendance ", "classdate IN ( SELECT
FIRST(classdate ) FROM attendance GROUP BY classdate)")
Anyone got any ideas?
Thanks,
Ciarán
Comment