CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 2 of 2
  1. #1
    Join Date
    Feb 2001
    Posts
    33

    update the recordset after deleting records

    Suppose I have a recordset called rsDelete which is used to delete records in another recordset called rs.

    How can I update (refresh) rs to show the status that some records in it are deleted ?

    When I used rsDelete.delete to delete records in rs , I found out that those records still in rs!!!

    Is there any method in ADO that is similar to rs.Refresh ?

    Please teach me


  2. #2
    Join Date
    Jan 2000
    Location
    Olen, Belgium
    Posts
    2,477

    Re: update the recordset after deleting records

    You can use the Resync Method of the recordset.

    Tom Cannaerts
    [email protected]

    The best way to escape a problem, is to solve it.
    Tom Cannaerts
    email: [email protected]
    www.tom.be (dutch site)

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