Quantcast
Channel: VBForums
Viewing all articles
Browse latest Browse all 42215

value error

$
0
0
hello everyone
i have a form with 2 combobox now i added a text and i get a error message
this is the code
Cn.Execute "INSERT INTO Curses " & _
"(LssID, LssDate, LssStudID, LssTchrID ,Lsname) VALUES (" & _
NewID & ", #" & _
MyDate(PickDt.Value) & "#, " & _
CmbStud.ItemData(CmbStud.ListIndex) & ", " & _
CmbTchr.ItemData(CmbTchr.ListIndex) & ")"
Text1.Text & "')"

something i think is wrong in the values
tnx for the help

Viewing all articles
Browse latest Browse all 42215

Trending Articles



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