Skip to content

TCurrencyField

Class for currency fields.

Declaration

Source position: db.pas line 792

type

  TCurrencyField = class(TFloatField)
  public
    constructor Create;
  published
    property Currency; {d}
  end;

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.

Properties

Member Visibility Description
Currency read only published Is the field a currency field.
See all Properties

Methods

Member Visibility Description
Create public Create a new instance of a TCurrencyField.
See all Methods

See also

Name Description
TField Provide access to the contents of a single field in a record.
TDataset Base class for records-based data-access.