K
Ken Cobler
I have read multiple emails relating to having one combo box determine the
items in another combo box - - and that part seems to work.
However, whenever I open the form, although the "child" cbx is filled out,
the "parent" box is blank. I believe this has to do with the form's table
only keeping (retaining) the "child" ID. I need to have the form show both
combo box selections, though, but not sure of the code to do so.
Here's more background:
*tblProperties*
PropertiesID
SubmarketID
(plus many other fields)
*tblMarkets* (the parent)
MarketID
MarketName
*tblSubmarkets* (the child)
SubmarketID
SubmarketName
MarketID (my foreign key)
I have related tblSubmarkets to tblMarkets via the MarketID in both.
Ideally, my main table (tblProperties) only needs to retain the unique
SubmarketID for it to know both the Market and Submarkets for each record.
My combobox cbxMarket as an AfterUpdate procedure which makes the
cbxSubmaret only show those Submarkets which belong to the selected Market.
Please tell me what additional info you need to know.
Thanks for your help.
items in another combo box - - and that part seems to work.
However, whenever I open the form, although the "child" cbx is filled out,
the "parent" box is blank. I believe this has to do with the form's table
only keeping (retaining) the "child" ID. I need to have the form show both
combo box selections, though, but not sure of the code to do so.
Here's more background:
*tblProperties*
PropertiesID
SubmarketID
(plus many other fields)
*tblMarkets* (the parent)
MarketID
MarketName
*tblSubmarkets* (the child)
SubmarketID
SubmarketName
MarketID (my foreign key)
I have related tblSubmarkets to tblMarkets via the MarketID in both.
Ideally, my main table (tblProperties) only needs to retain the unique
SubmarketID for it to know both the Market and Submarkets for each record.
My combobox cbxMarket as an AfterUpdate procedure which makes the
cbxSubmaret only show those Submarkets which belong to the selected Market.
Please tell me what additional info you need to know.
Thanks for your help.