Hi All
Building a query in Access and could do with some assistance.
I have two tables. Company and Contact. In the company table we have a list of company information, and in the contact table the contacts at those companies, and their information.
There will only ever be 1 record for each company in the Company table, but there could be, for example, up to 5 contacts assigned to that company.
So the tables are linked, Company ID to Contact Company ID - these numbers are the same for each contact linked to the company.
I have the fields:
Company ID
Contact First Name
Contact Last Name
Status
in my query. The status is set by the person calling the record, and can be a number of things.
What I am looking to do, is identify where someone has booked an appointment for someone at a company, but I want it to show me the contacts left that haven't be booked for an appointment.
So the Status would show as 'Appointment' where it has been booked, but:
Company A
We have booked an appointment with Mr Smith, so his status shows as Appointment.
The other 4 contacts haven't had an appointment booked, but there status could be anything (Voicemail, Not Called, Not Interested etc etc).
So I want to see Company A, but all records apart from Mr Smith - is this possible?
Thanks in advance!
Building a query in Access and could do with some assistance.
I have two tables. Company and Contact. In the company table we have a list of company information, and in the contact table the contacts at those companies, and their information.
There will only ever be 1 record for each company in the Company table, but there could be, for example, up to 5 contacts assigned to that company.
So the tables are linked, Company ID to Contact Company ID - these numbers are the same for each contact linked to the company.
I have the fields:
Company ID
Contact First Name
Contact Last Name
Status
in my query. The status is set by the person calling the record, and can be a number of things.
What I am looking to do, is identify where someone has booked an appointment for someone at a company, but I want it to show me the contacts left that haven't be booked for an appointment.
So the Status would show as 'Appointment' where it has been booked, but:
Company A
We have booked an appointment with Mr Smith, so his status shows as Appointment.
The other 4 contacts haven't had an appointment booked, but there status could be anything (Voicemail, Not Called, Not Interested etc etc).
So I want to see Company A, but all records apart from Mr Smith - is this possible?
Thanks in advance!