Skip to content

TBCDField.CheckRange

Check whether a values falls within the allowed range.

Declaration

Source position: db.pas line 1012

public 
function TBCDField.CheckRange(AValue: Currency) : Boolean;

Description

CheckRange returns True if AValue lies within the range defined by the MinValue and MaxValue properties. If the value lies outside of the allowed range, then False is returned.

See also

Name Description
MaxValue Maximum value for the field.
MinValue Minimum value for the field.