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

    Please I need help on how to use the Refresh()

    Could someone help me on how to use ADO's Refresh (). I know it takes a parameter called options, but I do not know what this options is. Also how do you get a form to update its view in order to display recently added fields after using the Refresh()?





  2. #2
    Join Date
    Apr 1999
    Location
    Chennai, INDIA
    Posts
    27

    Re: Please I need help on how to use the Refresh()

    hi,
    if you want to refresh the selected records, you can use CDaoRecordSet::Requery() function. this will refresh the selected records.
    suppose if you want to refresh after making modifications in the records, then again you'll have to call Requery() function after the modifications to get the changes done. This Requery() can be called on OnMove handler.

    Regards,
    Kalyan


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