Returns 1 (true) if data converts to a non-zero numeric value or a container field holds data; otherwise, returns 0 (false).
GetAsBoolean(data)
data
- any text, number, date, time, timestamp or container expression, or a field containing text, a number, date, time, timestamp or container
number
FileMaker Pro 8.0
Returns a Boolean value.
GetAsBoolean ( "" )
returns 0.
GetAsBoolean ( "Some text here." )
returns 0.
GetAsBoolean ( Container Field )
returns 1 when the field named Container Field contains data, or returns 0 when Container Field is empty.