Hello all,
I am trying to form a query to select on certain groups with a particular record, but still show the other records in that group, while excluding groups that do not have that record. for example:
Group1 special record
Group1 other record
Group1 special record
Group2 other record
Group2 other record
Group2 other record
So while I would need to show all records from group 1, since it contains at least one special record, and not show any records from group 2. I have tried a few IIf-then statements that did not work. Any help would be appreciated.
I am trying to form a query to select on certain groups with a particular record, but still show the other records in that group, while excluding groups that do not have that record. for example:
Group1 special record
Group1 other record
Group1 special record
Group2 other record
Group2 other record
Group2 other record
So while I would need to show all records from group 1, since it contains at least one special record, and not show any records from group 2. I have tried a few IIf-then statements that did not work. Any help would be appreciated.