Data.DB.TIntegerField.MinValue

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

property MinValue: Integer read FMinValue write SetMinValue default 0;

C++

__property int MinValue = {read=FMinValue, write=SetMinValue, default=0};

Properties

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

Description

Limits the minimum value in the integer field.

Use MinValue to get or set the minimum value that can be entered into the field. If a value smaller than MinValue is entered, an EDatabaseError exception is raised.

If the value of MinValue is 0, the integer field can have a value as small as the native database type can represent. For 32-bit integer fields, this minimum value is -2147483648.

See Also