hey
im trying to retrive items from a db with a combobox and display it in a text
for somereson it dosnt show nothing
here is the code
tnk you for the help
im trying to retrive items from a db with a combobox and display it in a text
for somereson it dosnt show nothing
here is the code
Code:
Private Sub Cmb4_Click()
Set RS = CN.Execute("SELECT InvItem FROM Inventory WHERE InvID='" & Cmb4.text & "'")
Txt(0).text = RS!Invitem
Else
Txt(0).text = ""
End If
End Sub