superfly5203
Registered User.
- Local time
- Yesterday, 20:00
- Joined
- Apr 5, 2016
- Messages
- 43
Hello,
I have the following sql statement
The query runs and performs correctly for the false statement, but it doesn't calculate anything for the true part. Any ideas as why only half of the if statement is working?
Thanks
I have the following sql statement
Code:
IIF (CCOdate = null, DateDiff('d',CDApprovalDate, actualdef), DateDiff('d',CCOdate, actualdef)) AS finalchangeage "
The query runs and performs correctly for the false statement, but it doesn't calculate anything for the true part. Any ideas as why only half of the if statement is working?
Thanks