DaiDreamer
Programmer
Hi!
I get this error message when I try and add my record to the database:
ADODB.Recordset error '800a0cb3'
The operation requested by the application is not supported by the provider.
/bureauofminere/frdocinvetory/NewAdded.asp, line 216
Here's the line of code the error is talking about:
set ADDconn = server.createobject("ADODB.Connection"
ADDconn.Open "DSN=SuretyDNS"
Session.timeout = 15
'Set Session("MyDB_conn" = ADDconn
response.write "addtodatabase"
Set RsAdd = server.CreateObject("ADODB.Recordset"
Set RsAdd.ActiveConnection = ADDconn
RsAdd.Open "InventoryOfSuretyDocuments"
response.write rsadd.fields("Section Name"
For counter = 1 to count
Select case Counter
case 1
RsAdd.AddNew 'error here
RsAdd.Fields("Section Name"= section1
RsAdd.Fields("Date of Requirement"=DateofRequire1
DocType1=request.form("BRDocType1"
Thanks!
DaiDreamer
I get this error message when I try and add my record to the database:
ADODB.Recordset error '800a0cb3'
The operation requested by the application is not supported by the provider.
/bureauofminere/frdocinvetory/NewAdded.asp, line 216
Here's the line of code the error is talking about:
set ADDconn = server.createobject("ADODB.Connection"
ADDconn.Open "DSN=SuretyDNS"
Session.timeout = 15
'Set Session("MyDB_conn" = ADDconn
response.write "addtodatabase"
Set RsAdd = server.CreateObject("ADODB.Recordset"
Set RsAdd.ActiveConnection = ADDconn
RsAdd.Open "InventoryOfSuretyDocuments"
response.write rsadd.fields("Section Name"
For counter = 1 to count
Select case Counter
case 1
RsAdd.AddNew 'error here
RsAdd.Fields("Section Name"= section1
RsAdd.Fields("Date of Requirement"=DateofRequire1
DocType1=request.form("BRDocType1"
Thanks!
DaiDreamer