G
Guest
Hello all. Here's my dilemma:
In form "fOrder", a basic order form with customer information and product
ordering information, I want to have three combo boxes. When you select from
the first combo box I want that result to populate the second box then third.
Each selection will narrow down the results of the next combo box. This
database is to keep track of shipping orders from our butcher shop. The
first box is "Type" and it allows us to select whether customers want steaks,
marinades or roasts. The next combo box, "Product", allows us to say what
type of steak, marinade or roast they want (sirloin, ribeye, etc...). The
last box is "Size" and it will allow us to select sizing options (16oz, 24oz,
etc...).
I have used one combo box to populate another before. I set up an SQL
statement in one combo box's control source to base its fields on the results
of another combo box selection in the form. Then I went in and added some
VBA code. That was fairly easy...there was a nice Microsoft help article
about how to do it. I'm running into problems on how to work with three
combo boxes, though. Maybe you guys can offer some help?!
Here are the particulars of my database:
The order form is based on the table "tOrder". "tOrder" contains customer
fields ("Last", "First", "Phone") and product fields ("Type", "Product",
"Size" and "Price"). I have table "tCustomer" to store all my customer
information. I have tables "tType", "tProduct" and "tSize" to store all my
product information...these tables have a one-to-many relationship with each
other. All control sources on my form are bound.
I just don't have the Access knowledge and the VBA coding ability to do
this. Any suggestions are greatly appreciated!!! This is getting to be our
busy season (summer=grilling season=meat=$$$)... : ) Thank you
very much!!!
In form "fOrder", a basic order form with customer information and product
ordering information, I want to have three combo boxes. When you select from
the first combo box I want that result to populate the second box then third.
Each selection will narrow down the results of the next combo box. This
database is to keep track of shipping orders from our butcher shop. The
first box is "Type" and it allows us to select whether customers want steaks,
marinades or roasts. The next combo box, "Product", allows us to say what
type of steak, marinade or roast they want (sirloin, ribeye, etc...). The
last box is "Size" and it will allow us to select sizing options (16oz, 24oz,
etc...).
I have used one combo box to populate another before. I set up an SQL
statement in one combo box's control source to base its fields on the results
of another combo box selection in the form. Then I went in and added some
VBA code. That was fairly easy...there was a nice Microsoft help article
about how to do it. I'm running into problems on how to work with three
combo boxes, though. Maybe you guys can offer some help?!
Here are the particulars of my database:
The order form is based on the table "tOrder". "tOrder" contains customer
fields ("Last", "First", "Phone") and product fields ("Type", "Product",
"Size" and "Price"). I have table "tCustomer" to store all my customer
information. I have tables "tType", "tProduct" and "tSize" to store all my
product information...these tables have a one-to-many relationship with each
other. All control sources on my form are bound.
I just don't have the Access knowledge and the VBA coding ability to do
this. Any suggestions are greatly appreciated!!! This is getting to be our
busy season (summer=grilling season=meat=$$$)... : ) Thank you
very much!!!