VirtualDAC

TVirtualAutoIncField

A field class for generating auto-increment field values.

Unit

Syntax

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 AddField method.

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

See Also

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