Data.DB.TIntegerField.MinValue

From RAD Studio API Documentation
Jump to: navigation, search

[–] Properties
Type: property
Visibility: published
Source:
Data.DB.pas
Data.DB.hpp
Unit: Data.DB
Parent: TIntegerField

Delphi

property MinValue: Integer read FMinValue write SetMinValue default 0;

C++

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

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