| [Overview][Constants][Types][Classes][Procedures and functions][Variables][Index] | 
[Properties (by Name)] [Methods (by Name)] [Events (by Name)]
Fixed precision floating point data field
Source position: db.pas line 848
type TFMTBCDField = class(TNumericField)  | 
||
public  | 
||
constructor Create(); override;  | 
  | 
Create a new instance of the TFMTBCDField class.  | 
function CheckRange();  | 
  | 
Check value if it is in the range defined by MinValue and MaxValue  | 
property Value: TBCD; [rw]  | 
  | 
The value of the field as a BCD value  | 
published  | 
||
  | 
Total number of digits in the BCD data  | 
|
property Currency: Boolean; [rw]  | 
  | 
Does the field contain currency data ?  | 
property MaxValue: string; [rw]  | 
  | 
Maximum value for the field  | 
property MinValue: string; [rw]  | 
  | 
Minimum value for the field  | 
  | 
Number of digits after the decimal point  | 
|
end;  | 
  | 
Fixed precision floating point data field  | 
|
| | | ||
  | 
Base class for all numerical data field classes  | 
|
| | | ||
  | 
Provide access to the contents of a single field in a record  | 
|
| | | ||
| | | ||
| | | ||
TFMTBCDField is the field created when a data type of ftFMTBCD is encountered. It represents usually a fixed-precision floating point data type (BCD : Binary Coded Decimal data) such as the DECIMAL or NUMERIC field types in an SQL database.
  | 
Class for floating point values  |