I'm trying to output fields in my table where the Count Of text field "LC" is 1, and Number field "WO" is not 1.
What I have doesn't work.
It's including instances where there are >1 "LC" field.
Thanks for any help.
What I have doesn't work.
Code:
SELECT [tbl1990-2010].LC, Count([tbl1990-2010].LC) AS CountOfLC, [tbl1990-2010].WO
FROM [tbl1990-2010]
GROUP BY [tbl1990-2010].LC, [tbl1990-2010].WO
HAVING (((Count([tbl1990-2010].LC))=1) AND (([tbl1990-2010].WO)<>1));
It's including instances where there are >1 "LC" field.
Thanks for any help.