From Xojo Documentation
| This item has been deprecated since version 2019r2 and should no longer be used.
Please use DatabaseColumn.BooleanValue as a replacement.
Used to get and set the values of Boolean field types.
The values "0" and "False" are treated as False and "1" and "True" are treated as True. The behavior of any other values is undefined when retrieved using BooleanValue. Use StringValue to retrieve the original values in the field.
For situations where you need to set a database column to NULL, you should use the Value property like this:
rs.Field("MyBooleanColumn").Value = Nil // sets to NULL in the database
Get the boolean value of a column in a RecordSet:
If rs.Field("AllowEmails").BooleanValue Then
MsgBox("Emails are allowed.")
Set the boolean value of a column in a RecordSet:
rs.Field("AllowEmails").BooleanValue = True