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

TFMTBCDField

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

Fixed precision floating point data field

Declaration

Source position: db.pas line 822

type TFMTBCDField = class(TNumericField) end;

public

  constructor Create(); override;

  

Create a new instance of the TFMTBCDField class.

  function CheckRange();

  

Check value if it is in the range defined by MinValue and MaxValue

  property Value: TBCD; [rw]

  

The value of the field as a BCD value

published

  property Precision: LongInt; [rw]

  

Total number of digits in the BCD data

  property Currency: Boolean; [rw]

  

Does the field contain currency data ?

  property MaxValue: string; [rw]

  

Maximum value for the field

  property MinValue: string; [rw]

  

Minimum value for the field

  property Size: Integer;

  

Number of digits after the decimal point

Inheritance

TFMTBCDField

  

Fixed precision floating point data field

|

TNumericField

  

Base class for all numerical data field classe

|

TField

  

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

|

TComponent,IUnknown,IInterfaceComponentReference

|

TPersistent,IFPObserved

|

TObject

Description

TFMTBCDField is the field created when a data type of ftFMTBCD is encountered. It represents usually a fixed-precision floating point data type (BCD : Binary Coded Decimal data) such as the DECIMAL or NUMERIC field types in an SQL database.

See also

TFloatField

  

Class for floating point values


Documentation generated on: Nov 14 2015