Data.Win.ADODB.TCustomADODataSet.FieldDefs

From RAD Studio API Documentation
Jump to: navigation, search

[–] Properties
Type: property
Visibility: protected
Source:
Data.Win.ADODB.pas
Data.Win.ADODB.hpp
Unit: Data.Win.ADODB
Parent: TCustomADODataSet

Delphi

property FieldDefs stored FStoreDefs;

C++

__property FieldDefs = {stored=FStoreDefs};

Description

Points to the list of field definitions for the dataset.

Data.Win.ADODB.TCustomADODataSet.FieldDefs inherits from Data.DB.TDataSet.FieldDefs. All content below this line refers to Data.DB.TDataSet.FieldDefs.

Points to the list of field definitions for the dataset.

FieldDefs lists the field definitions for a dataset. While an application can examine FieldDefs to explore the field definitions for a dataset, it should not change these definitions unless creating a new table with CreateTable or CreateDataSet.

To access fields and field values in a dataset, use the Fields, AggFields, and FieldValues properties, and the FieldsByName method.

Note: If the dataset includes object field descendants, FieldDefs represents a hierarchical view of the data, meaning that the definitions include object field definitions. To determine the definitions in a flattened view, use FieldDefList instead.

See Also


Code Examples