Hello all!
when I click an item in the combo list (drop down list) It looks up for the file and it displays the information in the correspondig text boxes but it erases the combo text. How can I make the code to leave it there???
this is the code :
Private Sub Combo1_Click()
Dim var As String
var = Combo1.Text
Data1.Recordset.CancelUpdate
Do Until var = Combo1.Text
Data1.Recordset.MoveNext
Loop
End sub
thank you all in advance
EP
when I click an item in the combo list (drop down list) It looks up for the file and it displays the information in the correspondig text boxes but it erases the combo text. How can I make the code to leave it there???
this is the code :
Private Sub Combo1_Click()
Dim var As String
var = Combo1.Text
Data1.Recordset.CancelUpdate
Do Until var = Combo1.Text
Data1.Recordset.MoveNext
Loop
End sub
thank you all in advance
EP