DatabaseRecord.BooleanColumn

From Xojo Documentation

Method

DatabaseRecord.BooleanColumn(Name As String) As Boolean

Supported for all project types and targets.

Gets the Boolean value for the column Name.


Method

DatabaseRecord.BooleanColumn(Name As String, Assigns value As Boolean)

Supported for all project types and targets.

Sets the Boolean value for the column Name.

Sample Code

Creates a new row in the team table:

Dim row As New DatabaseRecord

row.Column("Name") = "Penguins"
row.Column("Coach") = "Bob Roberts"
row.Column("City") = "Boston"
row.BooleanColumn("GamesAvailableOnRadio") = True

myDB.InsertRecord("Team", row)

If myDB.Error Then
MsgBox("DB Error: " + myDB.ErrorMessage)
End If