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