Vcl.DBGrids.TGridDataLink.AddMapping
Delphi
function AddMapping(const FieldName: string): Boolean;
C++
bool __fastcall AddMapping(const System::UnicodeString FieldName);
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
function | public | Vcl.DbGrids.pas Vcl.DBGrids.hpp |
Vcl.DBGrids | TGridDataLink |
Description
Adds a field component to the end of the field map.
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.