Many Apologies and Obsequies,
I am (gasp) neither an Access programmer nor the creator of this database, but I was asked for help on this particular problem, and am now incurably curious about the solution.
TABLES:
There can be many sub-products, but each one has to be a sub-type of a certain product. From the Products form, you can select what type of sub-product you need to create. Each sub-product has a separate form by product type (i.e. there's a productA sub-product form, a productB sub-product form, etc.)
Each of these sub-product forms needs to display and pass into the sub-products table the type of product it's describing.
Control-Bound text boxes for "product" in the sub-product form tend to display the last product selected in any form at all... not necessarily the product relevant to the sub-form, even if we set default values, etc.
But an unbound text box, while displaying everything just fine, cannot pass the data into the table when the sub-product is created.
How can we bypass this ... feature?
Please, talk to me like I don't grok Access or VB. ('cuz I don't.)
Pre-emptive Gratitude,
JavaKat
I am (gasp) neither an Access programmer nor the creator of this database, but I was asked for help on this particular problem, and am now incurably curious about the solution.
TABLES:
Code:
Products
- ProductID (PK)
- ProductName (unique)
- ProductDescription
SubProducts
- SubProdID
- ProductName (FK)
- OtherStuff
Each of these sub-product forms needs to display and pass into the sub-products table the type of product it's describing.
Control-Bound text boxes for "product" in the sub-product form tend to display the last product selected in any form at all... not necessarily the product relevant to the sub-form, even if we set default values, etc.
But an unbound text box, while displaying everything just fine, cannot pass the data into the table when the sub-product is created.
How can we bypass this ... feature?
Please, talk to me like I don't grok Access or VB. ('cuz I don't.)
Pre-emptive Gratitude,
JavaKat