SQLMemTable: BDE Alternative Embedded
In-Memory Database with SQL for Delphi / C++Builder


TSQLMemTable.SetLastAutoIncValue
TSQLMemTable
Top 

Set the Autoinc value for the specified field.

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

Description
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 SQLMemTable: