FormDataSource.reread Method

Rereads the current record from the database.

Syntax

public void reread()

Run On

Client

Remarks

Call this method to update the record with the latest changes from the database.

The reread 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 reread.

Examples

The following example uses the reread method as part of a method that is used to update a table.

void doRefresh() 
{ 
    salesTable_ds.reread(); 
    salesTable_ds.refresh(); 
  
    salesLine_ds.reread(); 
    salesLine_ds.refresh(); 
  
    interCompanyPurchSalesReference_ds.executeQuery(); 
}

See Also

FormDataSource Class

FormDataSource.refresh Method

FormDataSource.cursorNotify Method

FormDataSource.active Method