L
Lee E. Johnson
I would like to check a date/time in a query and if it is after midnight but
before 4:30am I want to subtract a day from it, else it stays the same. I
was looking at something like this (not that it works). How would I put
this into a query anyway?
IIf([OrderDateTime]<#4:30:00#,DateAdd("d","-1",[OrderDateTime]),[OrderDateTime])
Thanks,
Lee
before 4:30am I want to subtract a day from it, else it stays the same. I
was looking at something like this (not that it works). How would I put
this into a query anyway?
IIf([OrderDateTime]<#4:30:00#,DateAdd("d","-1",[OrderDateTime]),[OrderDateTime])
Thanks,
Lee