[ODBC MICROSOFT DRIVER] The INSERT INTO statement contain unknown file name: 'TimeStart'
i realy no idea how to solve this error because the TimeStart is excatly the name i use in the Results table. plz guide me.
i realy no idea how to solve this error because the TimeStart is excatly the name i use in the Results table. plz guide me.
Code:
If myvari = vbOK Then
strSql1 = "INSERT INTO Results (TimeStart, TimeEnd, AverageSpeed, NumberOfCar)" & _
" VALUES ('" & frmDisplay.txtTimeStart.Text & "'," & _
" '" & frmDisplay.txtTimeEnd.Text & "','" & frmDisplay.lblAverage.Caption & "','" & frmDisplay.lblNum.Caption & "')"
DE.Conn.Execute strSql1
End If
Resume Next
End If
Comment