jcaptchaos2
Registered User.
- Local time
- Today, 13:56
- Joined
- Apr 28, 2011
- Messages
- 12
I have a calculated field in a table and what I need it to do is to look at the Time On and the shift and if the shift is "3" and the time on is between 7am and midnight to take the date and add 1 day to it. Here is what I got but it does not seem to add a day no matter what I have in for a time. If I remove the and part of the formula and just use shift equals "3" then it works fine. Here is the code.
Thanks
JC
Code:
IIf([shift]=3 And [Time On]>7 And [Time On]<24,[date]+1,[date])
Thanks
JC