Data.DB.TStringField

From RAD Studio API Documentation
Jump to: navigation, search

Data.DB.TFieldSystem.Classes.TComponentSystem.Classes.TPersistentSystem.TObjectTStringField

Delphi

TStringField = class(TField)

C++

class PASCALIMPLEMENTATION TStringField : public TField

Properties

Type Visibility Source Unit Parent
class public
Data.DB.pas
Data.DB.hpp
Data.DB Data.DB

Description

TStringField represents a string field in a dataset.

TStringField encapsulates the fundamental behavior common to fields that contain string data. A value of a string field is physically stored as a sequence of up to 8192 characters. However, some table types may only support string fields of smaller dimensions. Common uses for string fields are to store text, such as names and addresses.

If you use the Fields editor at design time to create a persistent field component for the string field, you can access it by name at runtime. When using dynamic field components, you can access the TStringField instance using the dataset's Fields property or FieldByName method.

See Also


Code Examples