Jaa


FormDataSource.refresh Method

Definition

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

public:
 override void refresh();
public override void refresh ();
override this.refresh : unit -> unit
Public Overrides Sub refresh ()

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.

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(); 
}

Applies to