Web.DBWeb.THTTPDataLink.Fields

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

property Fields[I: Integer]: TField read GetFields;

C++

__property Data::Db::TField* Fields[int I] = {read=GetFields};

Properties

Type Visibility Source Unit Parent
property public
Web.DBWeb.pas
Web.DBWeb.hpp
Web.DBWeb THTTPDataLink

Description

Lists all the field components from the dataset that may be shown in the image of the datasource.

Use Fields to access field components by index. Fields[0] is the first field component, Fields[1] is the second field component, and so on. If the SparseMap property is true, Fields may contain undefined field components. For these entries, Fields returns nil/NULL.

TDSTableProducer uses Fields to keep track of all field components that are part of its dataset. Whenever necessary, TDSTableProducer reconciles the field bindings of its columns with the field components in Fields.

See Also