From RAD Studio API Documentation
Jump to: navigation, search



TIntegerField = class(TNumericField)


class PASCALIMPLEMENTATION TIntegerField : public TNumericField


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


Represents a signed 32-bit integer field in a dataset.

TIntegerField encapsulates the fundamental behavior common to fields that contain integer data. Integer fields can hold values in the range from -2,147,483,648 through 2,147,483,647. In addition to the properties, methods, and events common to all fields that are introduced by the TField class, TIntegerField introduces new properties to convert between integer values and other data types, and to limit the range of valid integers that the field will permit.

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

TIntegerField is the direct ancestor of 3 other field types that represent integer numbers: TAutoIncField, TSmallintField, and TWordField.

See Also

Code Examples