Hi
I'm using Access 2002. I have 2 tables tblGroupContact ,
tblGroupPermiss ion, both have 2 fields identical structure:
ContactID GroupID (Both are Composite keys and both hold integers)
tblGroupContact holds everybody and the groups they are members of.
tblGroupPermiss ion holds only those people who have permission to make
changes to another part of the DB.
The SQL at the end of post works, but opens a dialogue box looking for
a parameter value 'query1.Contact ID'
Clicking enter or cancel (without entering anything) works OK.
What have I done wrong to cause this parameter request.
Thanks ColinK
SELECT tblGroupContact .ContactID, tblGroupContact .GroupID
FROM tblGroupContact LEFT JOIN tblGroupPermiss ion ON
(tblGroupContac t.ContactID = tblGroupPermiss ion.ContactID) AND
(tblGroupContac t.GroupID = tblGroupPermiss ion.GroupID)
WHERE (((tblGroupPerm ission.ContactI D) Is Null) AND
((tblGroupPermi ssion.GroupID) Is Null));
I'm using Access 2002. I have 2 tables tblGroupContact ,
tblGroupPermiss ion, both have 2 fields identical structure:
ContactID GroupID (Both are Composite keys and both hold integers)
tblGroupContact holds everybody and the groups they are members of.
tblGroupPermiss ion holds only those people who have permission to make
changes to another part of the DB.
The SQL at the end of post works, but opens a dialogue box looking for
a parameter value 'query1.Contact ID'
Clicking enter or cancel (without entering anything) works OK.
What have I done wrong to cause this parameter request.
Thanks ColinK
SELECT tblGroupContact .ContactID, tblGroupContact .GroupID
FROM tblGroupContact LEFT JOIN tblGroupPermiss ion ON
(tblGroupContac t.ContactID = tblGroupPermiss ion.ContactID) AND
(tblGroupContac t.GroupID = tblGroupPermiss ion.GroupID)
WHERE (((tblGroupPerm ission.ContactI D) Is Null) AND
((tblGroupPermi ssion.GroupID) Is Null));
Comment