Click to See Complete Forum and Search --> : Please I need help on how to use the Refresh()


akwasijulius
May 1st, 1999, 01:59 AM
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()?

pkraman
May 1st, 1999, 02:12 AM
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