A
abalboa
Hello
I have a text box (txtID) and three combo boxes (cmb1, cmb2 & c,b3).
I want the textbox to auto-populate based on the selection made from
the three combo boxes.
If I have one combo box, I would do the following:
assuming the combo box's column number of the field I want stored in
the text box were the first column of the query, then
Private Sub cboName_AfterUpdate()
Me!txtHidden.Value = Me!cboName.Column(0)
Exit Sub
However, how would I write this if its based on three combo boxes???
Help!
Annette
I have a text box (txtID) and three combo boxes (cmb1, cmb2 & c,b3).
I want the textbox to auto-populate based on the selection made from
the three combo boxes.
If I have one combo box, I would do the following:
assuming the combo box's column number of the field I want stored in
the text box were the first column of the query, then
Private Sub cboName_AfterUpdate()
Me!txtHidden.Value = Me!cboName.Column(0)
Exit Sub
However, how would I write this if its based on three combo boxes???
Help!
Annette