Navigation:  Advantage .NET Data Provider > AdsExtendedReader Class > AdsExtendedReader Properties >


Advantage .NET Data Provider

Previous pageReturn to chapter overviewNext page

Retrieves the last inserted autoinc value after an SQL INSERT or table append.

public int LastAutoinc{ get; }


Returns the last inserted Autoinc value for the given handle. If no Autoinc value has been inserted or the table does not contain an Autoinc field then 0 is returned.

Note The autoinc value returned is client-specific, and because of concurrent database access, is not guaranteed to be the absolute last autoinc value in the table.