D
David
Hi,
I have a form which submits fields to add a new record to my table.
I have the following code:
__________________________________
vUser = request.form("user") 'PK in table (not autonumber)
vPass = request.form("pass")
vEmail = request.form("email")
uSQL = "INSERT into OrderStatusAccess (UserID, Password, Email,
CustomerID) values ('" & vUser & "', '" & vPass & "', '" & vEmail &
"', '" & session("customer") & "');"
adoDataConn.Execute (uSQL)
______________________________________
The problem:
This code just inserts a blank record at the top of my table, so that
when I go to view all the records listed for that table, nothing
shows, because the first record is blank.
UserID is the PK for the table OrderStatusAccess.
Any ideas ?
David
I have a form which submits fields to add a new record to my table.
I have the following code:
__________________________________
vUser = request.form("user") 'PK in table (not autonumber)
vPass = request.form("pass")
vEmail = request.form("email")
uSQL = "INSERT into OrderStatusAccess (UserID, Password, Email,
CustomerID) values ('" & vUser & "', '" & vPass & "', '" & vEmail &
"', '" & session("customer") & "');"
adoDataConn.Execute (uSQL)
______________________________________
The problem:
This code just inserts a blank record at the top of my table, so that
when I go to view all the records listed for that table, nothing
shows, because the first record is blank.
UserID is the PK for the table OrderStatusAccess.
Any ideas ?
David