On Jun 3, 2007, at 7:53 PM, Tim Mansour wrote:
Yes it would--if for no other reason, that it takes up much less
space in terms of data storage.
Assuming an implementation in one byte, that is. While FMP could give
us a boolean type we have no idea how they would store it. They could
very well store it in any way they please, including as a string.
My usual method is to create a value list called "Boolean" which
contains only one item "1". I define my boolean fields as Number,
then apply the value list using a Checkbox on required layouts.
One must take care, when using this convention, that calculations
looking for a "False" value have the "Do not evaluate if all
referenced fields are empty" checkbox unchecked or are testing for
false using the "IsEmpty()" function.
One might also create an auto-enter calculation for a boolean field
"foo" with the following calculation:
Case ( GetAsBoolean ( foo ) = True; True; False )
This will still work with the checkbox idea Tim presents but will
ensure there is a false ('0') value in the field when unchecked.
Corn Walker
Amherst, MA