CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 2 of 2

Thread: Edit recordset

  1. #1
    Join Date
    Oct 2000
    Posts
    13

    Edit recordset

    Hi there:

    I extract a recorset that has 10 records and 5 fields
    I can edit all the records in the recordset at once using a Grid.
    I modify them by editing the contents of the grid cells.

    Which is the best way of modifying the data in the underlying table?

    Should I use rs.edit .......... rs.update to modify all the records in the
    recordset? Are there any other methods? I´m using DAO 3.6.

    Thanks



  2. #2
    Join Date
    Jan 2000
    Location
    MO, USA
    Posts
    1,506

    Re: Edit recordset

    If this grid is bound to a data control, the changes are already saved in the tables as soon as the user moves off the edited row.

    john

    John Pirkey
    MCSD
    http://www.ShallowWaterSystems.com
    http://www.stlvbug.org
    John Pirkey
    MCSD (VB6)
    http://www.stlvbug.org

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

Featured