Results 1 to 3 of 3

Thread: Recordset update

  1. #1

    Thread Starter
    Hyperactive Member
    Join Date
    Jun 1999
    Location
    ma,usa
    Posts
    485
    Hi,
    I want to structure my programming more but when i put a call to an update of my recordset outside the sub that does the Rs.AddNew I get an "Update without AddNew" error. The Rs is public and the Rs.AddNew is in a loop to grab Rs!Item = varItem.Any suggestions?
    Thanks

  2. #2

  3. #3
    Fanatic Member Wen Lie's Avatar
    Join Date
    Jul 1999
    Location
    Singapore
    Posts
    524

    Cool Hmm...

    First of all, just post some of your code.
    At least that 2 related modules. So, we can figure out what is the mistake.
    Because, I've done something like that, and, it works. I've put rs.Addnew at a module, let's say at Add Module. And I put rs.Update at another module, let's say at Save Module. Everything is okay.

    Please check the routine. Who knows that you've done something wrong in calling module.

    Regards,
    Wen Lie
    ( VB Database Programmer )
    Regards,
    [-w-]

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