Database.AddRow
From Xojo Documentation
Method
Database.AddRow(TableName as String, row as DatabaseRow)
New in 2019r2
Supported for all project types and targets.
New in 2019r2
Supported for all project types and targets.
Inserts Data (a populated DatabaseRow) as a new row in TableName.
Notes
Always look for a DatabaseException to verify whether or not the data was added.
Sample Code
This code adds a row to an existing Team table with the columns "Name", "Coach" and "City". It's assumed that the variable db contains an active database connection: