I have 3 dbcombo boxes on my form. If the user selects something from box one... I want it to sort box2 and have box2 only display info pertaining to the choice made in box 1, then when they choose something from box2 I want it to sort box3 and have box 3 only display info pertaining to the choice made in box 2
DBCombo1 Choice -------> DBCombo2 [Choices related to DBCombo1] -------> DBCombo3 [Choices related to DBCombo2].
I tried to figure it all out on my own but alas, I could not come up with a means of pulling it off.
I do something like that, where I use the LostFocus event of the first combobox, which loads the second combo, and as soon as something is clicked in the second combo, a third combo is loaded with items that are particular to the first two combos.
You could run a query to load the combos. If they are bound, then you would have to change the record.
Well i tried running a query... but I couldnt exactly figure out how to get the data from the query to the dbcombo boxs listfield property... That and the row source property MUST be set at design time, not runtime (as far as I know).
Waht about programming this without using bound controls? I heard bound controls are devil, is it true ? can we do this same code without the data control.