iOSSQLiteDatabase.LastRowID
From Xojo Documentation
Method
Returns an Int64 containing the value of the last RowID added to any table in the database.
Returns an Int64 containing the value of the last RowID added to any table in the database.