Redraws the form or grid.

Syntax

<oRef>.refresh( )

<oRef>

The object to refresh

Property of

Form, Grid, SubForm

Description

Use a form’s refresh( ) method to update the controls on the form to reflect the current state of the data in the buffer when using tables in work areas. To update the data buffer, use the REFRESH command first. When using the data objects, call the rowset’s refreshControls( ) method instead.

Call a grid’s refresh( ) method to repaint the grid. The current row in the rowset becomes the top row in the grid, and all visible columns are repainted from the current row down.