TStringField
Field class to handle ansistring fields.
Declaration
Source position: db.pas line 504
Description
TStringField is the class used whenever a dataset has to handle a string field type (data type ftString). This class overrides some of the standard TField methods to handle string data, and introduces some properties that are only pertinent for data fields of string type. It should never be necessary to create an instance of TStringField manually, a field of this class will be instantiated automatically for each string field when a dataset is opened.
Properties
| Member |
Visibility |
Description |
| CodePage read only |
public |
Codepage of the field string data. |
| EditMask read only |
published |
Specify an edit mask for an edit control. |
| FixedChar |
public |
Is the string declared with a fixed length ? |
| Size read only |
published |
Maximum size of the string. |
| Transliterate |
public |
Should the field value be transliterated when reading or writing. |
| Value |
public |
Value of the field as a string. |
See all PropertiesSee also
| Name |
Description |
| TField |
Provide access to the contents of a single field in a record. |
| TWideStringField |
Field class for widestring data. |
| TDataset |
Base class for records-based data-access. |