Data.DB.TFMTBCDField.SetAsBCD

From RAD Studio API Documentation
Jump to: navigation, search

[–] Properties
Type:
procedure
function
Visibility: protected
Source:
Data.DB.pas
Data.DB.hpp
Unit: Data.DB
Parent: TFMTBCDField

Delphi

procedure SetAsBCD(const Value: TBcd); override;

C++

virtual void __fastcall SetAsBCD(const Data::Fmtbcd::TBcd &Value);

Description

Sets the value of the field with the given TBcd value.

SetAsBCD sets the field's value with Value. If the input BCD value is not in the valid range [MinValue; MaxValue], an error is raised and the field's value is not changed.

See Also