Web.DBWeb.THTTPDataLink.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
Web.DBWeb.pas
Web.DBWeb.hpp
Web.DBWeb THTTPDataLink

Description

Adds a field component to the end of the Fields array.

Applications should not call AddMapping directly, because this would cause the Fields array to become out of sync with the THTMLTableColumns object used by TDSTableProducer. TDSTableProducer calls AddMapping iteratively to set up the Fields array so that it corresponds to the columns in the table image.

See Also