G
Guest
I have a contact table and a company table: Contact table has a company id
based on the company id field in the company table. This is the relationship
I am building a report which lists the list of the top 20 companies based on
a selection. In addtion there are multiple contact persons available for
each company. One of the multiple contacts may or may not be the primary
contact person. There is a switch in the database for the user to select
whether or not it is the Primary contact.
My delimma, I need to list in a report the company name and the primary
contact person, however if there is no primary contact person, then I need to
list the next person available and on the report list that this is not the
primary contact. Also cannot pt more than one name per company, because it
all has to fit on one line in the report.
Any suggestions out there?
based on the company id field in the company table. This is the relationship
I am building a report which lists the list of the top 20 companies based on
a selection. In addtion there are multiple contact persons available for
each company. One of the multiple contacts may or may not be the primary
contact person. There is a switch in the database for the user to select
whether or not it is the Primary contact.
My delimma, I need to list in a report the company name and the primary
contact person, however if there is no primary contact person, then I need to
list the next person available and on the report list that this is not the
primary contact. Also cannot pt more than one name per company, because it
all has to fit on one line in the report.
Any suggestions out there?