iOSSQLiteDatabase.LastRowID

From Xojo Documentation

Method

iOSSQLiteDatabase.LastRowID() As Int64

Supported on Mobile(iOS).

Returns an Int64 containing the value of the last RowID added to any table in the database.