Unit 'DB' Package
[Overview][Constants][Types][Classes][Procedures and functions][Variables][Index] [#fcl]

TLongintField

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

Field class for 32-bit signed integer data.

Declaration

Source position: db.pas line 601

type TLongintField = class(TNumericField)

public

  constructor Create(); override;

  

Create a new instance of TLongintField.

  function CheckRange();

  

Check whether a valid is in the allowed range of values for the field.

  property Value: LongInt; [rw]

  

Value of the field as longint.

published

  property MaxValue: LongInt; [rw]

  

Maximum value for the field.

  property MinValue: LongInt; [rw]

  

Minimum value for the field.

end;

Inheritance

TLongintField

  

Field class for 32-bit signed integer data.

|

TNumericField

  

Base class for all numerical data field classes.

|

TField

  

Provide access to the contents of a single field in a record.

|

TComponent

|

TPersistent,IInterfaceComponentReference

|

TObject,IFPObserved

Description

TLongintField is instantiated when a dataset must manage a field with 32-bit signed data: the data type ftInteger. It overrides some methods of TField to handle integer data, and sets some of the properties to values for integer data. It also introduces some methods and properties specific to integer data such as MinValue and MaxValue.

It should never be necessary to create an instance of TLongintField manually, a field of this class will be instantiated automatically for each integer field when a dataset is opened.

See also

TField

  

Provide access to the contents of a single field in a record.

MaxValue

  

Maximum value for the field.

MinValue

  

Minimum value for the field.


Documentation generated on: Dec 22 2024