Accuracer: The First And Only Cross-Platform BDE Replacement
Client-Server Single-File Embedded Database with SQL for Delphi / C++Builder / Kylix


Set the Autoinc value for the specified field.

procedure SetLastAutoincValue(Value: Int64; FieldName: String): Int64; overload;
procedure SetLastAutoincValue(Value: Int64; FieldIndex: Integer): Int64; overload;

Use this function to set the Autoinc value for the specified field.
Next added record will have this value plus increment of this field (1 by default) as the default value.

© AidAim Software Accuracer: Client-server Database Single-file Database Delphi Database Embedded Databas