M
mmohon
I have 4 columns, each can have a value of either B, D or E. I want to
exclude all records with a "D" in any column, and all records where
all 4 columns have a B
SELECT CHF.BILLNUMBER, CHF.HF1, CHF.HF2, CHF.HF3, CHF.HF4
FROM CHF
WHERE (((CHF.HF1)<>"D") AND ((CHF.HF2)<>"D") AND ((CHF.HF3)<>"D") AND
((CHF.HF4)<>"D"));
That is what I have so far, and that gets rid of all the D's like I
need, I just cant figure out how to exclude records where they have B's
for all 4 columns.
Is it possible?
exclude all records with a "D" in any column, and all records where
all 4 columns have a B
SELECT CHF.BILLNUMBER, CHF.HF1, CHF.HF2, CHF.HF3, CHF.HF4
FROM CHF
WHERE (((CHF.HF1)<>"D") AND ((CHF.HF2)<>"D") AND ((CHF.HF3)<>"D") AND
((CHF.HF4)<>"D"));
That is what I have so far, and that gets rid of all the D's like I
need, I just cant figure out how to exclude records where they have B's
for all 4 columns.
Is it possible?