Quantcast
Channel: VBForums - Visual Basic 6 and Earlier
Viewing all articles
Browse latest Browse all 21328

[RESOLVED] combobox dosnt pull item name from the database

$
0
0
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

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

tnk you for the help

Viewing all articles
Browse latest Browse all 21328

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>