F
faulknerandy
Hi,
I have a SQL written query that looks like this:
SELECT tblNominal.code
FROM tblNominal
WHERE (((tblNominal.code) Not In (select txtCode from
tblReportGroup)));
As far as I understand things this should list codes from the
tblNominal table that do not appear in the list from the tblReportGroup
table...only it doesn't work!
The query returns nothing, despite the fact that I know for certain
there are rows in tblNominal containing codes that are not in the sub
query.
Can anybody help?
I'm using Access 2003.
Alfie
I have a SQL written query that looks like this:
SELECT tblNominal.code
FROM tblNominal
WHERE (((tblNominal.code) Not In (select txtCode from
tblReportGroup)));
As far as I understand things this should list codes from the
tblNominal table that do not appear in the list from the tblReportGroup
table...only it doesn't work!
The query returns nothing, despite the fact that I know for certain
there are rows in tblNominal containing codes that are not in the sub
query.
Can anybody help?
I'm using Access 2003.
Alfie