G
Guest
I am trying to write an expression in a query that captures the data between
11:01PM and 7:00AM. Here is what I have thus far:
THIRDANDOFFSHIFT: Sum(IIf([ISSUETIME] Between #11:01:00 PM# And #7:00:00
AM#,[EXTENDEDCOST],0))
This is unfortunately not working. I thought maybe if I wrote it as
Between (11:01:00PM And 11:59:00PM) And 12:00:00AM And 7:00:00AM. I am not
sure how to write this statement, though. Any help is greatly appreciated.
Thanks.
11:01PM and 7:00AM. Here is what I have thus far:
THIRDANDOFFSHIFT: Sum(IIf([ISSUETIME] Between #11:01:00 PM# And #7:00:00
AM#,[EXTENDEDCOST],0))
This is unfortunately not working. I thought maybe if I wrote it as
Between (11:01:00PM And 11:59:00PM) And 12:00:00AM And 7:00:00AM. I am not
sure how to write this statement, though. Any help is greatly appreciated.
Thanks.