I have a combo box that's based on a query which uses as its criteria the value of another combo box on the same form. Basically, a user selects a product from the first combo box, and the second combo box populates with any product releases associated with that product:
Combo Box1: Product (bound to product_id, row source is a table of products). The AfterUpdate event calls for the Release combo box to be requeried.
ActiveRelease query selects all releases WHERE product_id = [Forms]![NewBug]![Product]
Combo Box2: Release (bound to release_id, row source is the ActiveRelease query)
Now here's the thing. It WORKS. Until I select a Product, the release dropdown is blank. If I select Product1, the Release combo box shows me releases associated with that product. Same with Product2, Product3, etc.
If I open the ActiveRelease query, it shows results matching the combo box.
Great!
However, if I close and then open the form again and do not select a Product, the Release combo box now shows the first value in the Release table. I don't know how it's pulling this. When I open the ActiveRelease query it, as expected, is blank. It's just the combo box that's supposedly pulling from that query that shows information.
Any ideas?
Thanks!
Combo Box1: Product (bound to product_id, row source is a table of products). The AfterUpdate event calls for the Release combo box to be requeried.
ActiveRelease query selects all releases WHERE product_id = [Forms]![NewBug]![Product]
Combo Box2: Release (bound to release_id, row source is the ActiveRelease query)
Now here's the thing. It WORKS. Until I select a Product, the release dropdown is blank. If I select Product1, the Release combo box shows me releases associated with that product. Same with Product2, Product3, etc.
If I open the ActiveRelease query, it shows results matching the combo box.
Great!
However, if I close and then open the form again and do not select a Product, the Release combo box now shows the first value in the Release table. I don't know how it's pulling this. When I open the ActiveRelease query it, as expected, is blank. It's just the combo box that's supposedly pulling from that query that shows information.
Any ideas?
Thanks!