Hi there,
Here's an interesting one. Which I can't understand how to get to work with form controls.
I have an enquiry form and on it is a contact details page where we put the client details. However, sometimes the person or company who contacts us is not our direct client and is only acting as an "Agent".
Therefore I need to replicate what happens on our current paper enquiry form where we have a section for Agent and a section for Client (the client is the invoice address).
However, the data needs to come from the same tables because an agent will be a contact, as will the client.
I hope that makes some form of sense.
The form will want to look something like this:
Currently, the Client ComboBox and the Agent ComboBox are referencing exactly the same field in the tblEnquiry table, which is lngzContactID (a foreign key lookup to the tblContact table). So if one changes, so does the other. This is the bit I'm not wanting to happen!
I think I need to use a two queries, one called qryClientDetails and one called qryAgentDetails which both reference tblContact and then add them to the enquiry table as lookup fields, in replacement of the single contact lookup field. Does that sound right?
Thanks greatly! (in advance)
Here's an interesting one. Which I can't understand how to get to work with form controls.
I have an enquiry form and on it is a contact details page where we put the client details. However, sometimes the person or company who contacts us is not our direct client and is only acting as an "Agent".
Therefore I need to replicate what happens on our current paper enquiry form where we have a section for Agent and a section for Client (the client is the invoice address).
However, the data needs to come from the same tables because an agent will be a contact, as will the client.
I hope that makes some form of sense.
The form will want to look something like this:
Currently, the Client ComboBox and the Agent ComboBox are referencing exactly the same field in the tblEnquiry table, which is lngzContactID (a foreign key lookup to the tblContact table). So if one changes, so does the other. This is the bit I'm not wanting to happen!
I think I need to use a two queries, one called qryClientDetails and one called qryAgentDetails which both reference tblContact and then add them to the enquiry table as lookup fields, in replacement of the single contact lookup field. Does that sound right?
Thanks greatly! (in advance)