Hi
I keep getting:
Microsoft JET Database Engine error '80040e14'
Syntax error in INSERT INTO statement.
Iv'e checked the code over and over and cant find the glitch.
can anyone tell me if they see something.
Set rstSimple=Server.CreateObject("ADODB.Recordset")
sql=" INSERT INTO USERS (TYPEOFBUS, FIRSTN, LASTN, CITY, STATE, COUNTRY, ZIP, USERNAME, PASSWORD, PHONE1, PHONE2, CELL, FAX, EMAIL)"
sql=sql & " VALUES ('" & typeOfBusiness & "','" & firstName & "','" & lastName & "','" & city & "','" & dstate & "','" & country & "'," & zip & ",'" & usern & "','" & passw & "'," & phone1 & "," & phone2 & "," & cell & "," & fax & ",'" & email & "')"
rstSimple.Open sql, cnnSimple, 3
Thanks
Guyphil
I keep getting:
Microsoft JET Database Engine error '80040e14'
Syntax error in INSERT INTO statement.
Iv'e checked the code over and over and cant find the glitch.
can anyone tell me if they see something.
Set rstSimple=Server.CreateObject("ADODB.Recordset")
sql=" INSERT INTO USERS (TYPEOFBUS, FIRSTN, LASTN, CITY, STATE, COUNTRY, ZIP, USERNAME, PASSWORD, PHONE1, PHONE2, CELL, FAX, EMAIL)"
sql=sql & " VALUES ('" & typeOfBusiness & "','" & firstName & "','" & lastName & "','" & city & "','" & dstate & "','" & country & "'," & zip & ",'" & usern & "','" & passw & "'," & phone1 & "," & phone2 & "," & cell & "," & fax & ",'" & email & "')"
rstSimple.Open sql, cnnSimple, 3
Thanks
Guyphil