A need to run a query that will display all records that are over 3 hours old.
I will be refering to a Date/Time field of the format dd/mm/yyyy hh:mm:ss
when I posted this request in this forum a while ago, someone told me to write:
>DateAdd("h",-3,Now())
in the criteria box.
This didn't seem to work.
Can anyone else suggest something?
also, whenever I try to sort the field in ascending order it only sorts by the dd part of the field, not by the Date and time together. Is there a chronological sort that can be run?
My main query is getting it to display only records over 3 hours old, so if anyone can help I would appreciate it.
thanks,
Matt
I will be refering to a Date/Time field of the format dd/mm/yyyy hh:mm:ss
when I posted this request in this forum a while ago, someone told me to write:
>DateAdd("h",-3,Now())
in the criteria box.
This didn't seem to work.
Can anyone else suggest something?
also, whenever I try to sort the field in ascending order it only sorts by the dd part of the field, not by the Date and time together. Is there a chronological sort that can be run?
My main query is getting it to display only records over 3 hours old, so if anyone can help I would appreciate it.
thanks,
Matt