Sign in Join
FPDoc Onlineexperiment

TFMTBCDField class

In unit DB

Fixed precision floating point data field.

Declaration

pascal
TFMTBCDField = class(TNumericField)

Inheritance

  1. TFMTBCDField
  2. TNumericField
  3. TField
  4. TComponent
  5. TPersistent
  6. TObject

Description

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.

See also

Properties

ValuepublicThe value of the field as a BCD value.
PrecisionpublishedTotal number of digits in the BCD data.
CurrencypublishedDoes the field contain currency data ?
MaxValuepublishedMaximum value for the field.
MinValuepublishedMinimum value for the field.
SizepublishedNumber of digits after the decimal point.

Methods

CheckTypeSizeprotected
GetAsBCDprotected
GetAsCurrencyprotected
GetAsFloatprotected
GetAsLargeIntprotected
GetAsLongWordprotected
GetAsIntegerprotected
GetAsStringprotected
GetAsVariantprotected
GetDataSizeprotected
GetDefaultWidthprotected
GetTextprotected
SetAsBCDprotected
SetAsFloatprotected
SetAsLargeIntprotected
SetAsLongWordprotected
SetAsIntegerprotected
SetAsStringprotected
SetAsCurrencyprotected
SetVarValueprotected
CreatepublicCreate a new instance of the TFMTBCDField class.
CheckRangepublicCheck value if it is in the range defined by MinValue and MaxValue.

Inherited

From TNumericField (8)

Alignment DisplayFormat EditFormat GetAsBoolean RangeError SetAsBoolean SetDisplayFormat SetEditFormat

From TField (121)

AccessError AsAnsiString AsBCD AsBoolean AsBytes AsCurrency AsDateTime AsExtended AsFloat AsInteger AsLargeInt AsLongint AsLongWord Assign AssignValue AsSingle AsString AsUnicodeString AsUTF8String AsVariant AsWideString AttributeSet Bind Calculated CanModify Change CheckInactive Clear ConstraintErrorMessage CurValue CustomConstraint DataChanged DataSet DataSize DataType DefaultExpression Destroy DisplayLabel DisplayName DisplayText DisplayWidth EditMask EditMaskPtr FieldDef FieldKind FieldName FieldNo FocusControl FreeBuffers GetAsAnsiString GetAsBytes GetAsDateTime GetAsExtended GetAsLongint GetAsSingle GetAsUnicodeString GetAsUTF8String GetAsWideString GetCanModify GetClassDesc GetCurValue GetData GetDisplayName GetIsNull GetNewValue GetOldValue GetParentComponent HasConstraints HasParent ImportedConstraint Index IsBlob IsIndexField IsNull IsValidChar KeyFields Lookup LookupCache LookupDataSet LookupKeyFields LookupList LookupResultField NewValue Notification Offset OldValue OnChange OnGetText OnSetText OnValidate Origin ParentField PropertyChanged ProviderFlags ReadOnly ReadState RefreshLookupList Required SetAsAnsiString SetAsBytes SetAsDateTime SetAsExtended SetAsLongint SetAsSingle SetAsUnicodeString SetAsUTF8String SetAsVariant SetAsWideString SetData SetDataset SetDataType SetFieldType SetNewValue SetParentComponent SetParentField SetSize SetText Text Validate ValidChars Visible

From TComponent (69)

_AddRef _Release BeforeDestruction CanObserve ChangeName ComObject ComponentCount ComponentIndex Components ComponentState ComponentStyle DefineProperties DesignInfo DestroyComponents Destroying ExecuteAction FindComponent FreeNotification FreeOnRelease GetChildOwner GetChildParent GetChildren GetDeltaStreams GetEnumerator GetIDsOfNames GetNamePath GetObservers GetOwner GetTypeInfo GetTypeInfoCount iicrGetComponent InsertComponent Invoke IsImplementorOf Loaded Loading Name ObserverAdded Observers OnGetDeltaStreams Owner PaletteCreated QueryInterface ReadDeltaState ReadDeltaStream ReferenceInterface RemoveComponent RemoveFreeNotification RemoveFreeNotifications SafeCallException SetAncestor SetChildOrder SetDesigning SetDesignInstance SetInline SetName SetSubComponent Tag ToString TToStringNameMode UpdateAction Updated UpdateRegistry Updating ValidateContainer ValidateInsert ValidateRename VCLComObject WriteState

From TPersistent (4)

AssignTo FPOAttachObserver FPODetachObserver FPONotifyObservers

From TObject (37)

AfterConstruction CheckDisposed ClassInfo ClassName ClassNameIs ClassParent ClassType CleanupInstance DefaultHandler DefaultHandlerStr Dispatch DispatchStr Disposed DisposeOf Equals FieldAddress Free FreeInstance GetDisposed GetHashCode GetInterface GetInterfaceByStr GetInterfaceEntry GetInterfaceEntryByStr GetInterfaceTable GetInterfaceWeak GetLastCastErrorInfo InheritsFrom InitInstance InstanceSize MethodAddress MethodName newinstance QualifiedClassName StringMessageTable SystemHasExtendedRTTI UnitName

An experiment, built from development snapshots. Not the official Free Pascal or Lazarus documentation.