RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TDataSetAdapterField Class

TDataSetAdapterField is the an adapter field object that represents a database field whose value can be displayed as a simple text element.

Pascal
TDataSetAdapterField = class(TCustomDataSetAdapterField);
C++
class TDataSetAdapterField : public TCustomDataSetAdapterField;

DBAdapt

Add TDataSetAdapterField as a child of a TDataSetAdapter component to represent a simple field in the dataset associated with the dataset adapter. TDataSetAdapterField represents simple field types that can appear in a single-line edit control. TDataSetAdapterField represents a single field from a database table, and enables server-side script to refer to or update that field's value. 

TDataSetAdapterField supports several properties that can be used in server-side script. These include: 

ValuesList, which is an object that lists the possible values for this field. 

Value, which is the current value of the field. 

DisplayText, which represents the current value of the field as a text string. 

DisplayStyle and InputStyle, which indicate the type of control that should represent the field value in HTML forms. 

DisplayLabel, which provides a text label that can be used to label HTML controls that represent the field. 

Required, which indicates whether the field requires a value. 

Visible, which indicates whether HTML forms should include a control for this field. 

 

Copyright(C) 2008 CodeGear(TM). All Rights Reserved.
What do you think about this topic? Send feedback!