A combo box on my form is filled from some VBA SQL, e.g.
combo_DivLevel.RowSource = "SELECT DISTINCT [Div Level] FROM Structure WHERE DivisionID = 3"
I also have the default value of the combo set to: "All"
The idea is that a user can click on all, to either refresh the combo from the start or to select all sub divisions from another combo.
The problem is that this combo's row source is changed when other options on the form are clicked and the default value of "All" then disappears.
Is there a way for the default to always remain or do I have to set this in the VBA code each time I change the row source ?
combo_DivLevel.RowSource = "SELECT DISTINCT [Div Level] FROM Structure WHERE DivisionID = 3"
I also have the default value of the combo set to: "All"
The idea is that a user can click on all, to either refresh the combo from the start or to select all sub divisions from another combo.
The problem is that this combo's row source is changed when other options on the form are clicked and the default value of "All" then disappears.
Is there a way for the default to always remain or do I have to set this in the VBA code each time I change the row source ?