Link to home
Start Free TrialLog in
Avatar of mrong
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
ASKER CERTIFIED SOLUTION
Avatar of no worries :-) no nothing
no worries :-) no nothing
Flag of Greece image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of mrong
mrong

ASKER

Below is what I have before my IF stmt and I can't see anything wrong.

Dim rsItems
  Dim blnNew
  Set rsItems = Server.CreateObject("ADODB.Recordset")
  rsItems.Open "tbl1", objConn, adOpenForwardOnly, adLockOptimistic, adCmdTable