iOSSQLiteDatabaseField.BooleanValue

From Xojo Documentation

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

Read-Only Property (As Boolean )
BooleanValue = aiOSSQLiteDatabaseField.BooleanValue

Supported on Mobile (iOS).

Gets the boolean value for a column.

Sample Code

Check the Boolean value of a column:

// rs is an iOSSQLiteRecordSet with a Boolean column called "AllowEmails"
If rs.Field("AllowEmails").BooleanValue Then
MessageLabel.Text = "Emails are allowed."
End If