DatabaseRow.ColumnAt

From Xojo Documentation

You are currently browsing the old Xojo documentation site. Please visit the new Xojo documentation site!
Method

DatabaseRow.ColumnAt(index as Integer) As DatabaseColumn

New in 2019r2.1

Supported for all project types and targets.

Returns the DatabaseColumn for the column at position Index.

Sample Code

Get the string value of a column in a DatabaseRow:

// row is a DatabaseRow
Var productName As String
productName = row.ColumnAt(0).StringValue