It appears that the user has to know to enter 0 or 1 even if it shows Yes or
No...? This is not really cool....

Ron

-----Original Message-----
From: FileMaker Pro Discussions [mailto:[EMAIL PROTECTED] On
Behalf Of Beverly Voth
Sent: Saturday, June 02, 2007 3:12 PM
To: [email protected]
Subject: Re: Yes/No

On 6/2/07 3:04 PM, "Ron" <[EMAIL PROTECTED]> wrote in whole or in part:

> What is the best way to represent a field that should only be True or
False.
> 
> A Boolean datatype would be nice.
> 
> (FM 7)
> Ron

I generally use a number field and only allow {0,1}.

Keep in mind that "" (empty) may or may not be the same as "0", depending
upon how you use the field. If you *need* to have a value, use auto-enter
"0" upon record creation/commit. You can _format_ the field on the layout as
Boolean number type and even show "yes"/"no", "true"/"false", etc. for the
values "1/0".


-- 
Beverly Voth               Tier3 Data & Web Services Group, LLC
606-864-0041               http://www.tier3web.com/xml.htm

 Certified FileMaker 7 Developer * FileMaker Business Alliance
                     Web Design & Hosting
  Coldfusion, Witango, PHP, MS SQL, MySQL, FMP, XML/XSLT, CSS
Over 12 years experience integrating databases and the internet!

Reply via email to