Results 1 to 2 of 2

Thread: Error in row

  1. #1

    Thread Starter
    Hyperactive Member
    Join Date
    May 1999
    Location
    Reynosa, Mexico
    Posts
    274
    I'm traying to update an Access table as it follows:

    Code:
    rs.addnew
    rs!field1=0
    rs!field2=date
    rs!field3="X"
    rs.update
    And i get this error:

    Run-time error '-2147467259 (80004005)':
    [Microsoft][ODBC Microsoft Access Driver]Error in row

    The error is presented in the 'rs.update' line.

    I didn't desing this database. I'm using VB6 and ADO 2.1.


  2. #2
    Frenzied Member HarryW's Avatar
    Join Date
    Jan 2000
    Location
    Heiho no michi
    Posts
    1,827
    You need to call rs.Edit before you add a new record and start updating fields I think.
    Harry.

    "From one thing, know ten thousand things."

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