Results 1 to 4 of 4

Thread: ADO help required

  1. #1

    Thread Starter
    New Member
    Join Date
    Sep 2003
    Posts
    2

    Smile ADO help required

    Hi,
    I am facing a small problem with ADO
    I have created the following recordset

    SELECT empid_em as EmpID,divcode_em,wrkshpcode_em,wrkcntrcode_em,actualcode_em,ticketno_em as TicketNo, empname_em as EmpName, 1 as AvailMins,2 as IsActAlloted FROM EMPMASTER WHERE 1=2 rsEmployee.Open strQuery, dbConn, adOpenStatic, adLockBatchOptimistic

    in the above recordset AvailMins and IsActAlloted columns are not available in the database, but I required them so i created Dummy Columns.

    Now in a loop I assign values to AvailMins and IsActAlloted fields, using Addnew and Update method. With Oracle 8i everything works fine, but when I use the same thing with MS Access or Personal Oracle it gives an error saying
    "Multiple-step operation generated errors. Check each status value."

    Why is this error comming and I am not able to solve the problem.
    If possible explain the problem.


    Amol

  2. #2
    Hyperactive Member goatsucker's Avatar
    Join Date
    Dec 2002
    Location
    Leeds, England
    Posts
    283
    Are you trying to add new fields to the table? If so you may be better using creating a table object in ADOX and adding a column to it. There is an example here
    After all "Rust Never Sleeps"

  3. #3

    Thread Starter
    New Member
    Join Date
    Sep 2003
    Posts
    2
    i am creating a disconnected recordset. no columns are ben been added to the table.

  4. #4
    Addicted Member
    Join Date
    Sep 2003
    Posts
    160
    Hi mite
    have you named the column 1 and 2 ? I don't think thats right to name it like that , you should start by alphabetical words

    hope it helps.
    S. Mohammad Najafi

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width