- Joined
- Aug 13, 2011
- Messages
- 1
- Reaction score
- 0
I am trying to use an if statement combined with a DateDiff statement in Access. I want to the see the following if textbox1 = yes, then calculated the aging date. Here is what i have written, keep getting invalid syntax error. Please help. Thankyou
=IIF([CloseoutOverDue]=''yes'',DateDiff("d",[CloseoutDue],Now())). Same thing is written in the control source of the property sheet.
=IIF([CloseoutOverDue]=''yes'',DateDiff("d",[CloseoutDue],Now())). Same thing is written in the control source of the property sheet.