Function DbRefresh() Foundation

Forces refresh of all internal cache buffers of current work area

DbRefresh() --> NIL

The return value of DbRefresh() is always NIL.


The function DbRefresh() causes the current work area to discard all data held in internal buffers and re-load them from disk. This way all data held in memory is synchronized with the data stored in the database. DbRefresh() also voids the buffers used by the Rushmore optimizer engine and Smart Filters.

When DbRefresh() is called, the notification DBO_ROWSET_CHANGED is sent to all objects registered in the work area via DbRegisterClient(). This allows for a convenient way to refresh data displayed on screen.


If you see anything in the documentation that is not correct, does not match your experience with the particular feature or requires further clarification, please use this form to report a documentation issue.