RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TDataLink.RecordChanged Method

Responds to changes in the contents of the current record or field of the dataset.

Pascal
procedure RecordChanged(Field: TField); virtual;
C++
virtual __fastcall RecordChanged(TField Field);

The RecordChanged method defined by TDataLink merely provides an interface for a method that can respond to changes to the contents of the current record. RecordChanged is called after changes have been posted to the current record in the dataset, and from DataSetChanged

The Field parameter indicates which field of the current record has changed in value. If Field is nil (Delphi) or NULL (C++), any number of fields within the current record may have changed. 

Derived objects that do not need to respond to such changes can allow the inherited method to ignore them. 

 

Copyright(C) 2008 CodeGear(TM). All Rights Reserved.
What do you think about this topic? Send feedback!