RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TLargeintField.MaxValue Property

Limits the maximum value in the large integer field.

Pascal
property MaxValue: Largeint;
C++
__property Largeint MaxValue;

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

If the value of MaxValue is 0, the large integer field can have a value up to the maximum value that can be represented by the native database type. For 64-bit integer fields, this value is 2 ^63 - 1. 

 

Copyright(C) 2009 Embarcadero Technologies, Inc. All Rights Reserved.
What do you think about this topic? Send feedback!