Share via


FormDataSource.reread Method

Definition

Rereads the current record from the database.

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

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.

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

Applies to