Hi,
I have a contacts table made up of records which are a sub-group of a larger parent table. There is a one-to-many relationship between the parent record (company) and the records in the contact table. The records are linked thru a record ID number.
The contact table has a Y/N flag for each contact denoting whether they are 'Head of IT'.
eg record ID no. 17 might have 3 contacts, with 2 marked N for Head of IT and 1 marked Y.
I need a query that excludes any group of contacts that have "Y" as 'Head of IT' in any of the contact records. In other words, just leaving the records where no Head of IT has been recorded for that company.
I hope this makes sense.
Any help appreciated,
Alex
I have a contacts table made up of records which are a sub-group of a larger parent table. There is a one-to-many relationship between the parent record (company) and the records in the contact table. The records are linked thru a record ID number.
The contact table has a Y/N flag for each contact denoting whether they are 'Head of IT'.
eg record ID no. 17 might have 3 contacts, with 2 marked N for Head of IT and 1 marked Y.
I need a query that excludes any group of contacts that have "Y" as 'Head of IT' in any of the contact records. In other words, just leaving the records where no Head of IT has been recorded for that company.
I hope this makes sense.
Any help appreciated,
Alex