A
Adam Thwaites
I am trying to filter my data so that a record that has been accesses in the
last 5 hours does not come up. I have a SaveDate field (dd/mm/yyyy) and a
SaveTime (hh:mm:ss) field.
My criteria for the SaveDate field is <(Now()-0.208) Or Is Null but as the
SaveDate is only storing the date it is not working properly. I'v tried to
combine the fields for the query:
SavedWhen: SaveDate & " " & SaveTime but I cannot get this into the same
format as (Now()-0.208). This is what I need help with. I'v tried SavedWhen:
CDate([SaveDate] & " " & [SaveTime]) and several other variations but I just
keep getting datatype mismatch errors.
last 5 hours does not come up. I have a SaveDate field (dd/mm/yyyy) and a
SaveTime (hh:mm:ss) field.
My criteria for the SaveDate field is <(Now()-0.208) Or Is Null but as the
SaveDate is only storing the date it is not working properly. I'v tried to
combine the fields for the query:
SavedWhen: SaveDate & " " & SaveTime but I cannot get this into the same
format as (Now()-0.208). This is what I need help with. I'v tried SavedWhen:
CDate([SaveDate] & " " & [SaveTime]) and several other variations but I just
keep getting datatype mismatch errors.