RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
THTTPDataLink.AddMapping Method

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

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 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. 

 

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