hi all,
I'm getting this error:
Microsoft JET Database Engine error '80040e14'
Syntax error in INSERT INTO statement.
and this is where the error indicates,
the weird thing is that it's working OK when I tested in my work's server, but not in my friend's server where I actually want it to be. Also, the same error appears when I tested locally utilizing localhost.
Please help!
I'm getting this error:
Microsoft JET Database Engine error '80040e14'
Syntax error in INSERT INTO statement.
and this is where the error indicates,
Code:
sql = "INSERT INTO tblCustomers(custName, password, idLoc, channelNo, active) VALUES(" & _
"'" & custname & "', '" & password & "', " & idLoc & ", '" & channelNo & "', " & active & ")"
objConn.Execute sql
the weird thing is that it's working OK when I tested in my work's server, but not in my friend's server where I actually want it to be. Also, the same error appears when I tested locally utilizing localhost.
Please help!