LastInsertID property
Previous  Top  Next

See Also Properties Methods Events Example
Unit
MySQLDataset

Applies to
TMySQLDataset TMySQLTable and TMySQLQuery components

Declaration
property LastInsertID: string;

Description
This will return an integer in string format giving you the last AUTOINC value generated by the MySQL server when you insert a record.