Topic group Related topics
Refreshes data in the entire rowset.
The rowset you want to refresh.
To increase performance, rows are cached in memory as they are encountered. If the row cursor revisits a cached row, it can be reread quickly from memory instead of the disk. refresh( ) purges all cached rows—not to be confused with cached updates—for the rowset, forcing dBASE Plus to reread the data from disk. It discards any changes to the row buffer, so a row that has been modified is not saved. When the rowset is refreshed, any dataLinked controls are also refreshed with values for the current row if notifyControls is true.
refresh( ) does not regenerate the rowset. If the rowset is not live, refresh( ) has no effect. Use requery( ) to regenerate the rowset.