So I have two combo boxes on datasheet, cboProduct (a list of software products) and cboRelease (a list of releases, with each product having its own set).
When you select a product from cboProduct, then cboRelease updates to show only releases tied to that product. The rowsource of cboRelease is a query whose criteria is ReleaseProduct = [Forms]![myForm]![cboProduct], and the AfterUpdate event of cboProduct and the onLoad event of the form requery cboRelease so it updates with relevant releases.
Pretty basic, right?
The problem I'm running into is that when the form loads, or when I select a product from cboProduct, then EVERY instance of cboRelease on the datasheet (or continuous form) updates to the selected cboProduct (i.e. is blank for ones that don't match).
Any ideas?
Thanks!
When you select a product from cboProduct, then cboRelease updates to show only releases tied to that product. The rowsource of cboRelease is a query whose criteria is ReleaseProduct = [Forms]![myForm]![cboProduct], and the AfterUpdate event of cboProduct and the onLoad event of the form requery cboRelease so it updates with relevant releases.
Pretty basic, right?
The problem I'm running into is that when the form loads, or when I select a product from cboProduct, then EVERY instance of cboRelease on the datasheet (or continuous form) updates to the selected cboProduct (i.e. is blank for ones that don't match).
Any ideas?
Thanks!