M
Matthew
Hello,
I need to limit repeated (but not duplicated) records in a query. Here's my
structure:
tblCompanies
*CompanyID
CompanyName
tblCategories
*CategoryID
CategoryName
tblCategoryAssignment
*CatAssignmentID
CompanyID
CategoryID
This structure allows a company to be assigned more than one category.
I want to be able run a query searching for companies that belong several
categories, i.e. show me all companies that have category assignments of
either software or nonprofit. Something like TechSoup would come up twice.
I'm interested in viewing the company names, not necessarily their
CategoryAssignmentIDs. Those ID's will be unique, but company names will be
duplicated. How do I get the query results to show only uniqe company
names?
Many thanks!!
Matthew
I need to limit repeated (but not duplicated) records in a query. Here's my
structure:
tblCompanies
*CompanyID
CompanyName
tblCategories
*CategoryID
CategoryName
tblCategoryAssignment
*CatAssignmentID
CompanyID
CategoryID
This structure allows a company to be assigned more than one category.
I want to be able run a query searching for companies that belong several
categories, i.e. show me all companies that have category assignments of
either software or nonprofit. Something like TechSoup would come up twice.
I'm interested in viewing the company names, not necessarily their
CategoryAssignmentIDs. Those ID's will be unique, but company names will be
duplicated. How do I get the query results to show only uniqe company
names?
Many thanks!!
Matthew