Xx_TownDawg_xX
Registered User.
- Local time
- Today, 14:32
- Joined
- Jan 16, 2009
- Messages
- 78
I'm not sure if you can do this or not?.. In essence a conditional criteria.
There are three types of audits: QA, QC and Int (Internal).
On the report, my boss wants to see all of the audit findings (including UAI, "use as-is") IF the AuditType - "QA", but does not want them included IF the AuditType is "QC" or "Int"
Can anyone suggest a WHERE statement that might work?
IF AuditType="QA" THEN (no additional condition)
ELSIF AuditType="QC" or "Int" THEN (filter OUT) DispType<>"UAI"
How do you do that in a query statement?
There are three types of audits: QA, QC and Int (Internal).
On the report, my boss wants to see all of the audit findings (including UAI, "use as-is") IF the AuditType - "QA", but does not want them included IF the AuditType is "QC" or "Int"
Can anyone suggest a WHERE statement that might work?
IF AuditType="QA" THEN (no additional condition)
ELSIF AuditType="QC" or "Int" THEN (filter OUT) DispType<>"UAI"
How do you do that in a query statement?