REALSQLdatabase.LastRowID Method

Returns as Integer the value of the last rowID added to any table in the database.

Syntax