Vcl.DBGrids.TGridDataLink.AddMapping

From RAD Studio API Documentation
Jump to: navigation, search

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.

See Also