[Overview][Constants][Types][Classes][Procedures and functions][Variables][Index] |
Check value if it is in the range defined by MinValue and MaxValue
Source position: db.pas line 853
public function TFMTBCDField.CheckRange( |
AValue: TBCD |
):Boolean; |
AValue |
|
Value to check |
True if AValue is in the range [MinValue,MaxValue]
CheckRange checks whether AValue is between MinValue and MaxValue if they are both nonzero. If either of them is zero, then True is returned. The MinValue and MaxValue values themselves are also valid values.
MinValue |
MaxValue |