BrianFawcett
Registered User.
- Local time
- Yesterday, 23:59
- Joined
- May 3, 2010
- Messages
- 63
I have a long IIf statement that I am using in a text box to generate some totals at the bottom of a report. This is it below:
=Sum(IIf([Data Table]![Order Phase]="OE" And [CheckHardSale]=0 And [CheckCredit]=0 And [Afterclose Status]="Dormant",1,0))
I want to add in an Or statement inside -
OR [Conflict Phase] = "AAM","QA",Is Null
I cannot seem to get the paratheses and brackets right. Can someone straighten me out.
=Sum(IIf([Data Table]![Order Phase]="OE" And [CheckHardSale]=0 And [CheckCredit]=0 And [Afterclose Status]="Dormant",1,0))
I want to add in an Or statement inside -
OR [Conflict Phase] = "AAM","QA",Is Null
I cannot seem to get the paratheses and brackets right. Can someone straighten me out.