I'm writing into an Access database.
I'm getting this error although the record has been
successfully written in the db.
Microsoft OLE DB Provider for ODBC Drivers error '80040e2f'
[Microsoft][ODBC Microsoft Access Driver]Error in row
/signup2.asp, line 187
Here is the code :
---------------------------------------------
set conn = server.CreateObject ("adodb.connection"
conn.Open Application("strConn"
set rs = server.CreateObject("adodb.recordset"
rs.Open "select * from Users where 1=2",conn,1,3
rs.AddNew
rs("Uname"
= uname
rs("Pwd"
= Pwd
rs("FName"
= FName
rs("LName"
= LName
rs("UEmail"
= UEmail
rs("Sex"
= sex
rs("BDate"
= BDate
rs("Pwd"
= Pwd
rs("City"
= city
rs("Country"
= country
rs("Infofrom"
= infofrom
rs("Status"
= "N"
rs.Update <================ error on this line (187)
session("UName"
= uname
rs.Close
-------------------------------------------
Can i have your feed-back please.
Thanks
I'm getting this error although the record has been
successfully written in the db.
Microsoft OLE DB Provider for ODBC Drivers error '80040e2f'
[Microsoft][ODBC Microsoft Access Driver]Error in row
/signup2.asp, line 187
Here is the code :
---------------------------------------------
set conn = server.CreateObject ("adodb.connection"
conn.Open Application("strConn"
set rs = server.CreateObject("adodb.recordset"
rs.Open "select * from Users where 1=2",conn,1,3
rs.AddNew
rs("Uname"
rs("Pwd"
rs("FName"
rs("LName"
rs("UEmail"
rs("Sex"
rs("BDate"
rs("Pwd"
rs("City"
rs("Country"
rs("Infofrom"
rs("Status"
rs.Update <================ error on this line (187)
session("UName"
rs.Close
-------------------------------------------
Can i have your feed-back please.
Thanks