Thanks Bob,
I have this code:
_________________________________________
for i = 1 to 2 (either 1 or 2 records added)
vUser = request.form("user")
vPass = request.form("pass")
vEmail = request.form("email")
uSQL = "INSERT into OrderStatusAccess "
uSQL = uSQL & "UserID= '" & vUser & "'"
uSQL = uSQL & ", Password = '" & vPass & "' "
uSQL = uSQL & ", Email ='" & vEmail & "'"
uSQL = uSQL & " WHERE CustomerID='" & session("customer") & "';"
adoDataConn.Execute uSQL,,129
next
___________________________________________
How do I adjust this code to accept the multiple records from the form ?
I get the following error:
SQLState: 42000
Native Error Code: 1064
[TCX][MyODBC]You have an error in your SQL syntax. Check the manual that
corresponds to your MySQL server version for the right syntax to use
near 'UserID= '', Password = '' , Email ='' WHERE CustomerID='20'' at
Thanks
David
*** Sent via Developersdex
http://www.developersdex.com ***
Don't just participate in USENET...get rewarded for it!