gheyman
Well-known Member
- Joined
- Nov 14, 2005
- Messages
- 2,347
- Office Version
- 365
- Platform
- Windows
Is this correct?
MONTH1_PDL: IIf(((DateDiff("m",[PDIR Due Date],Now()))>1) And ((DateDiff("m",[PDIR Completed],Now()))=<1) Or ([PDIR Completed] Is Null),1,0)
I need the first condition met and only one of the next two to true
[PDIR Due Date],Now()))>1 Needs to be True
AND
[PDIR Completed],Now()))=<1 OR ([PDIR Completed] Is Null Needs to be True
Should the last two be enclosed in a bracket?
MONTH1_PDL: IIf(((DateDiff("m",[PDIR Due Date],Now()))>1) And ((DateDiff("m",[PDIR Completed],Now()))=<1) Or ([PDIR Completed] Is Null),1,0)
I need the first condition met and only one of the next two to true
[PDIR Due Date],Now()))>1 Needs to be True
AND
[PDIR Completed],Now()))=<1 OR ([PDIR Completed] Is Null Needs to be True
Should the last two be enclosed in a bracket?