Data.DB.TFMTBCDField.SetAsBCD

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

procedure SetAsBCD(const Value: TBcd); override;

C++

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

Properties

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

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