Data.SqlExpr.TSQLDataLink.RecordChanged
Delphi
procedure RecordChanged(Field: TField); override;
C++
virtual void __fastcall RecordChanged(Data::Db::TField* Field);
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
procedure function |
protected | Data.SqlExpr.pas Data.SqlExpr.hpp |
Data.SqlExpr | TSQLDataLink |
Description
Refreshes the parameter values of the detail dataset and re-executes it.
Applications cannot call the protected RecordChanged method. It is called automatically when the contents of the current record change. The Field parameter indicates which field in the current record has changed. If Field is nil (Delphi) or NULL (C++), the entire record has changed.
SQL datasets establish master/detail relationships by supplying parameter values from the master dataset. RecordChanged updates these parameter values on the detail dataset to reflect the current values of the master dataset and then refreshes the dataset so that it is populated with the new detail set.