David Ball
Registered User.
- Local time
- Today, 11:10
- Joined
- Aug 9, 2010
- Messages
- 230
Hi,
I have a form where the user can select values from combo boxes to populate a Products table, tblProducts. The combo boxes get their values from individual tables for each field, for example tblManufacturer.
I have it set up so that each combo box has the Limit To List property set to Yes and when the user enters a new value in the combo box (eg, a manufacturer that is not already in the list) VBA code enters the value into the table (eg, tblManufacturers) and requeries the combo box so the new value shows up.
The problem is that I want to show three fields; Supplier 1, Supplier 2 and Supplier3.
The idea is that there may be more than one supplier that can provide the product and I want to show them all in these cases.
I am trying to figure out how to get this to work. I tried setting up three combo boxes that all had the same table, tblSuppliers, as the Control Source but I don’t think this will work.
tblProducts has fields, Supplier 1, Supplier 2 and Supplier 3. I am trying figure out what the control sources should be for these combo boxes on the form.
I considered setting up three separate tables for the suppliers but then I really need all suppliers to be available in one place so that no matter which combo box the user is working in all suppliers are an option.
Can anybody please advise how I should proceed?
Thanks very much and Merry Christmas!
David
I have a form where the user can select values from combo boxes to populate a Products table, tblProducts. The combo boxes get their values from individual tables for each field, for example tblManufacturer.
I have it set up so that each combo box has the Limit To List property set to Yes and when the user enters a new value in the combo box (eg, a manufacturer that is not already in the list) VBA code enters the value into the table (eg, tblManufacturers) and requeries the combo box so the new value shows up.
The problem is that I want to show three fields; Supplier 1, Supplier 2 and Supplier3.
The idea is that there may be more than one supplier that can provide the product and I want to show them all in these cases.
I am trying to figure out how to get this to work. I tried setting up three combo boxes that all had the same table, tblSuppliers, as the Control Source but I don’t think this will work.
tblProducts has fields, Supplier 1, Supplier 2 and Supplier 3. I am trying figure out what the control sources should be for these combo boxes on the form.
I considered setting up three separate tables for the suppliers but then I really need all suppliers to be available in one place so that no matter which combo box the user is working in all suppliers are an option.
Can anybody please advise how I should proceed?
Thanks very much and Merry Christmas!
David