FormDataSource.refresh Method

Updates the form by updating the view of all the records in the data source.

Syntax

public void refresh()

Run On

Client

Remarks

The contents of the records are redrawn without loading from disk. You can, for example, use refresh if you have to update while a lengthy operation is running.

Use the FormDataSource.refreshEx method if you do not want to refresh all the records.

The refresh method can be overridden on a form data source. Right-click the Methods node under the data source, point to Override Method, and then click refresh.

Examples

The following example overrides the write method on a data source so that it updates records in a different data source after a write operation.

public void write() 
{ 
    super(); 
    EPParameters_ds.research(); 
    EPParameters_ds.refresh(); 
}

See Also

FormDataSource Class

FormDataSource.reread Method