API:Data.DB.TStringField.GetAsBCD

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

function GetAsBCD: TBcd; override;

C++

virtual Data::Fmtbcd::TBcd __fastcall GetAsBCD();

Properties

Type Visibility Source Unit Parent
function protected
Data.DB.pas
Data.DB.hpp
Data.DB TStringField

Description

Returns the value of the field as a TBcd.

Data.DB.TStringField.GetAsBCD inherits from Data.DB.TField.GetAsBCD. All content below this line refers to Data.DB.TField.GetAsBCD.

Returns the value of the field as a TBcd.

Descendants of TField that represent TBcd fields override the GetAsBCD method to return the value of the field as a TBcd.

Trying to call the GetAsBCD method raises an exception.

See Also