M
Maresdd
Could somebody please look at my query. I've looked and looked and tried
changing it all different ways, but I can't work out why I'm not getting any
data. My query includes the following field
Afternoon Shift: IIf([Sleepover]=True Or [ServiceDate]=[PhDate] Or
Format([ServiceDate],"ddd")="Sat" Or
Format([ServiceDate],"ddd")="Sun",0,IIf([EndTime]>Format(#8:00:00 PM#,"Short
Time") And [EndTime]<=Format(#12:00:00 AM#,"Short
Time"),Format([Hrs],"Fixed"),0))
changing it all different ways, but I can't work out why I'm not getting any
data. My query includes the following field
Afternoon Shift: IIf([Sleepover]=True Or [ServiceDate]=[PhDate] Or
Format([ServiceDate],"ddd")="Sat" Or
Format([ServiceDate],"ddd")="Sun",0,IIf([EndTime]>Format(#8:00:00 PM#,"Short
Time") And [EndTime]<=Format(#12:00:00 AM#,"Short
Time"),Format([Hrs],"Fixed"),0))