Sign in Join
FPDoc Onlineexperiment

TAutoIncField class

In unit DB

Field for auto-incremental, 32-bit signed integer data.

Declaration

pascal
TAutoIncField = class(TLongintField)

Inheritance

  1. TAutoIncField
  2. TLongintField
  3. TNumericField
  4. TField
  5. TComponent
  6. TPersistent
  7. TObject

Description

TAutoIncField is the class created when a dataset must manage 32-bit signed integer data, of datatype ftAutoInc: This field gets it's data automatically by the database engine. It exposes no new properties, but simply overrides some methods to manage 32-bit signed integer data.

It should never be necessary to create an instance of TAutoIncField manually, a field of this class will be instantiated automatically for each auto-incremental field when a dataset is opened.

See also

Methods

SetAsIntegerprotected
CreatepublicCreate a new instance of the TAutoIncField class.

Inherited

From TLongintField (18)

CheckRange GetAsFloat GetAsInteger GetAsLargeInt GetAsLongWord GetAsString GetAsVariant GetDataSize GetText GetValue MaxValue MinValue SetAsFloat SetAsLargeInt SetAsLongWord SetAsString SetVarValue Value

From TNumericField (9)

Alignment CheckTypeSize DisplayFormat EditFormat GetAsBoolean RangeError SetAsBoolean SetDisplayFormat SetEditFormat

From TField (127)

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 GetAsBCD GetAsBytes GetAsCurrency GetAsDateTime GetAsExtended GetAsLongint GetAsSingle GetAsUnicodeString GetAsUTF8String GetAsWideString GetCanModify GetClassDesc GetCurValue GetData GetDefaultWidth 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 SetAsBCD SetAsBytes SetAsCurrency SetAsDateTime SetAsExtended SetAsLongint SetAsSingle SetAsUnicodeString SetAsUTF8String SetAsVariant SetAsWideString SetData SetDataset SetDataType SetFieldType SetNewValue SetParentComponent SetParentField SetSize SetText Size 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.