Hi again.
I'm trying to pass a value based on whther a time is before 12:30pm or after 12:30pm.
I have used the now() function on a field called date received.
I want to say if [date received] < 12:30pm then 5 else 6
Can someone tell me to extract the time from the Now() function please.
here's what i've got so far but it doesn't work.
ta.
spinkung.
I'm trying to pass a value based on whther a time is before 12:30pm or after 12:30pm.
I have used the now() function on a field called date received.
I want to say if [date received] < 12:30pm then 5 else 6
Can someone tell me to extract the time from the Now() function please.
here's what i've got so far but it doesn't work.
Code:
Due Date: IIf([In-Spec / Out of Spec]=1 AND format([received date],"hh:nn:ss:"< 12:30:00),dateaddw([date received],5),dateaddw([date received],6))
ta.
spinkung.
Last edited: