|
-
Feb 19th, 2001, 04:14 PM
#1
Thread Starter
PowerPoster
Take a look at my code. THis is the error the browser gives me:
Error Type:
Microsoft OLE DB Provider for ODBC Drivers (0x80040E14)
[Microsoft][ODBC Microsoft Access Driver] Syntax error in INSERT INTO statement.
/ReclaimAmerica.org/test.asp, line 87
Line 87 is flagged with a +++
What is the problem?
sSQL = "INSERT INTO Register(FirstName, LastName, email, userID, address, state, zipcode, phone " & _
"password, userLevel) VALUES ('" & strFirstName & _
"','" & strLastName & "','" & strEmail & "','" & strUserID & "','" & strAddress & "','" & strState & "','" & strZipCode & "','" & strPhone & "','" & strPassword & "',1)"
+++Dconn.Execute sSQL
Dconn.Close
Set Dconn = Nothing
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|