|
-
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
-
Feb 19th, 2001, 04:28 PM
#2
Thread Starter
PowerPoster
Come on someone please take a look
-
Feb 19th, 2001, 04:41 PM
#3
Thread Starter
PowerPoster
CAN ANYBODY HELP ME I'M FALLING!!!
-
Feb 19th, 2001, 04:50 PM
#4
Member
It might be the missing comma. See *
sSQL = "INSERT INTO Register(FirstName, LastName, email, userID, address, state, zipcode, phone *" & _
"password, userLevel)
Cheers
-
Feb 20th, 2001, 07:56 AM
#5
Thread Starter
PowerPoster
Thank you so very much for the help!
That is all it took!
THanks again...these forums are the best....
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
|