RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TDSTableProducer.DefineFieldMap Method

Builds the Fields array in DataLink.

Pascal
procedure DefineFieldMap;
C++
__fastcall DefineFieldMap();

Applications cannot call this protected method. DefineFieldMap rebuilds the field mapping for the dataset that is maintained by DataLink. This mapping reflects both the column bindings of the Columns property and the fields available in the dataset. After calling DefineFieldMap, the Columns property should be updated to match the field bindings in DataLink. This ensures that the Columns property reflects any changes imposed by the dataset. 

 

Copyright(C) 2009 Embarcadero Technologies, Inc. All Rights Reserved.
What do you think about this topic? Send feedback!