RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TGridDataLink.AddMapping Method

Adds a field component to the end of the field map.

Pascal
function AddMapping(const FieldName: string): Boolean;
C++
__fastcall Boolean AddMapping(const AnsiString FieldName);

Applications should not call AddMapping directly, because this would cause the field map to become out of sync with the columns in TCustomDBGrid. TCustomDBGrid calls AddMapping iteratively to build a field map that corresponds to its columns. 

 

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