VirtualDAC

TVirtualAutoIncField Class

A field class for generating auto-increment field values.

For a list of all members of this type, see TVirtualAutoIncField members.

Unit

VirtualTable

Syntax

TVirtualAutoIncField = class(TAutoIncField);

Remarks

TVirtualAutoIncField is a TAutoIncField descendant. It is created in cases when TFieldDef of the ftAutoInc type is created either at design time using the TVirtualTable.FieldDefs property, or at run time using the TVirtualTable.AddField method.

An initial field value is specified by the TVirtualAutoIncField.InitialValue property, and its increment is specified by the TVirtualAutoIncField property. Auto-generation can be enabled or disabled using the TVirtualAutoIncField.AutoGenerateValue property.

See Also

© 1997-2024 Devart. All Rights Reserved. Request Support DAC Forum Provide Feedback