Data.DB.TBCDField.MaxValue

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

property MaxValue: Currency read FMaxValue write SetMaxValue;

C++

__property System::Currency MaxValue = {read=FMaxValue, write=SetMaxValue};

Properties

Type Visibility Source Unit Parent
property published
Data.DB.pas
Data.DB.hpp
Data.DB TBCDField

Description

Limits the maximum value in the binary-coded decimal field.

Use MaxValue to get or set the maximum value that can be entered into the field. If a value greater than MaxValue is entered, TBCDField raises an EDatabaseError exception.

Newly created binary-coded decimal (BCD) fields set MaxValue to the maximum value that can be expressed by the currency data type.

See Also