[Overview][Constants][Types][Classes][Procedures and functions][Variables][Index] | Reference for unit 'DB' (#fcl)

# TWideStringField

[Properties (by Name)] [Methods (by Name)] [Events (by Name)]

Field class for widestring data

## Declaration

Source position: db.pas line 516

`type TWideStringField = class(TStringField)`
`public`
`constructor Create(); override;` |  | Create a new instance of the TWideStringField class.
`procedure SetFieldType(); override;` |  | Set the field type
`property Value: WideString; [rw]` |  | Value of the field as a widestring
`end;`

## Inheritance

`TWideStringField` |  | Field class for widestring data
`TStringField` |  | Field class to handle ansistring fields
`TField` |  | Provide access to the contents of a single field in a record
`TComponent,IUnknown,IInterfaceComponentReference`
`TPersistent,IFPObserved`
`TObject`

## Description

TWideStringField is the string field class instantiated for fields of data type ftWideString. This class overrides some of the standard TField methods to handle widestring data, and introduces some properties that are only pertinent for data fields of widestring type. It should never be necessary to create an instance of TWideStringField manually, a field of this class will be instantiated automatically for each widestring field when a dataset is opened.

## See also

TField |  | Provide access to the contents of a single field in a record
TStringField |  | Field class to handle ansistring fields
TDataset |  | Base class for records-based data-access

Documentation generated on: May 14 2021