DatabaseRow.Column

From Xojo Documentation

Method

DatabaseRow.Column(name As DatabaseColumn) As DatabaseColumn

New in 2019r21

Supported for all project types and targets.

Gets the DatabaseColumn for column name.

Sample Code

Creates a new row in the team table:

Var row As New DatabaseRow

row.Column("Name").StringValue = "Penguins"
row.Column("Coach").StringValue = "Bob Roberts"
row.Column("City").StringValue = "Boston"
Try
myDB.AddRow("Team", row)
Catch error As DatabaseException
MsgBox("DB Error: " + error.Message)
End Catch