mrong
asked on
Inset/update Oracle database
Greeting,
I got error "Multiple-step OLE DB operation generated errors." when using the following asp to insert/update the table.
If Request("num") = "" Then
blnNew = True
rsItems.AddNew
Else
rsItems.Filter = "shop = " & Request("num")
End If
rsItems("shop") = Request.Form("shop")
rsItems("phone") = Request.Form("phone")
rsItem.Update
rsItems.Close
Set rsItems = Nothing
I got error "Multiple-step OLE DB operation generated errors." when using the following asp to insert/update the table.
If Request("num") = "" Then
blnNew = True
rsItems.AddNew
Else
rsItems.Filter = "shop = " & Request("num")
End If
rsItems("shop") = Request.Form("shop")
rsItems("phone") = Request.Form("phone")
rsItem.Update
rsItems.Close
Set rsItems = Nothing
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
Dim rsItems
Dim blnNew
Set rsItems = Server.CreateObject("ADODB
rsItems.Open "tbl1", objConn, adOpenForwardOnly, adLockOptimistic, adCmdTable