Data.DB.TParam.AsCurrency

From RAD Studio API Documentation
Jump to: navigation, search

[–] Properties
Type: property
Visibility: public
Source:
Data.DB.pas
Data.DB.hpp
Unit: Data.DB
Parent: TParam

Delphi

property AsCurrency: Currency read GetAsCurrency write SetAsCurrency;

C++

__property System::Currency AsCurrency = {read=GetAsCurrency, write=SetAsCurrency};

Description

Specifies the value of the parameter when it represents a field of type Currency.

Set AsCurrency to assign the value for a parameter of type Currency. Setting AsCurrency sets the DataType property to ftCurrency.

Read the AsCurrency property to determine the value that was assigned to an output parameter, represented as a Currency type. The value of the parameter is converted if possible.

See Also

Code Examples