G
Guest
I have a form with a combo box with a query as recordsource. It should show
company names and alternate names called customers in the box.
I am modeling my program on a paper workorder form the mechanics use. They
can enter a customer name or the actual client name on the paper form. My
computer form looks similar to the paper form and uses the combo box so the
person entering the data from the workorder can select the “customerâ€.
Currently I have created a Customer table with ClientID as key and Customer
as the other field. This table holds the possible customer names, which are
actually container owners names such as Matson, Cosco, SeaLand, etc.
ClientID is the same as on my Clients table.
The Clients table has ClientID as the key and a CompanyName field I want to
show also in the combo box along with Customer from the Customer table.
I’m not loking at my program as I write this, but I believe I have the
Customer table as a relationship of one-to-many, with the Clients table,
ClientID being on the one side and ClientID in the Customer table as the
many..
Can I show both CompanyName and Customer in the same combo box using a query?
If so, how would I accomplish this?
Any suggestions or help would be greatly appreciated.
Thanks,
Chuck
company names and alternate names called customers in the box.
I am modeling my program on a paper workorder form the mechanics use. They
can enter a customer name or the actual client name on the paper form. My
computer form looks similar to the paper form and uses the combo box so the
person entering the data from the workorder can select the “customerâ€.
Currently I have created a Customer table with ClientID as key and Customer
as the other field. This table holds the possible customer names, which are
actually container owners names such as Matson, Cosco, SeaLand, etc.
ClientID is the same as on my Clients table.
The Clients table has ClientID as the key and a CompanyName field I want to
show also in the combo box along with Customer from the Customer table.
I’m not loking at my program as I write this, but I believe I have the
Customer table as a relationship of one-to-many, with the Clients table,
ClientID being on the one side and ClientID in the Customer table as the
many..
Can I show both CompanyName and Customer in the same combo box using a query?
If so, how would I accomplish this?
Any suggestions or help would be greatly appreciated.
Thanks,
Chuck