DBAdapt.TDataSetAdapterMemoField
Delphi
TDataSetAdapterMemoField = class(TCustomDataSetAdapterMemoField)
C++
class PASCALIMPLEMENTATION TDataSetAdapterMemoField : public TCustomDataSetAdapterMemoField
Properties
| Type | Visibility | Source | Unit | Parent |
|---|---|---|---|---|
| class | public | DBAdapt.pas DBAdapt.hpp |
DBAdapt | DBAdapt |
Description
The TDataSetAdapterMemoField represents a memo field in a dataset.
Add TDataSetAdapterMemoField as a child of a TDataSetAdapter component to represent a memo field in the dataset associated with the dataset adapter. TDataSetAdapterMemoField represents a single field from a database table, and enables server-side script to refer to or update that field's value. When generating an HTML form or grid displaying dataset fields, server-side script calls the TDataSetAdapterMemoField to retrieve the value of the dataset field and write the value to the HTML content. When executing a TDataSetAdapter action, the TDataSetAdapterMemoField is responsible for validating and updating the dataset field.
TDataSetAdapterField supports several properties that can be used in server-side script. These include:
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.