MySQLCommunityServer.GetInsertID

From Xojo Documentation

Method

MySQLCommunityServer.GetInsertID() As UInt64

Supported for all project types and targets.

Returns as an UInt64 the value of the AUTOINCREMENT field for the last row that was inserted.