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

TCurrencyField

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

Class for currency fields

Declaration

Source position: db.pas line 698

type TCurrencyField = class(TFloatField)

public

  constructor Create(); override;

  

Create a new instance of a TCurrencyField.

published

  property Currency: Boolean;

  

Is the field a currency field

end;

Inheritance

TCurrencyField

  

Class for currency fields

|

TFloatField

  

Class for floating point values

|

TNumericField

  

Base class for all numerical data field classes

|

TField

  

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

|

TComponent,IUnknown,IInterfaceComponentReference

|

TPersistent,IFPObserved

|

TObject

Description

TCurrencyField is the field class used by TDataset when it needs to manage currency-valued data.(TField.Datatype equals ftCurrency). It simply sets some Tfield properties to be able to work with currency data.

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

See also

TField

  

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

TDataset

  

Base class for records-based data-access


Documentation generated on: Jun 22 2020