There is also now a three-state checkbox which can have a value of 0, 1,
or2 (False, True, or Unspecified).

On Fri, 29 Nov 2019 at 19:37, Bernard Escaich via 4D_Tech <
[email protected]> wrote:

> Hi all,
>
> If I insert a check box  ‘MyCheckbox’ in a form with a expression
> ‘Form.MyCheckbox’, this expression has a numerical value.
> If I declare on load Form.MyCheckbox:=True, it is a boolean.
>
> I find counter-intuitive to have a boolean represented by a numeric value
> and prefer to write If (MyCheckbox) instead of If (MyChebox = 1).
>
> What is your experience ?
> Is there a risk to declare it as boolean ?
>
> Thanks for your advices.
>
> Bernard Escaich
>
>
>
>
> **********************************************************************
> 4D Internet Users Group (4D iNUG)
> Archive:  http://lists.4d.com/archives.html
> Options: https://lists.4d.com/mailman/options/4d_tech
> Unsub:  mailto:[email protected]
> **********************************************************************

-- 
*************************************************
CatBase - Top Dog in Data Publishing
tel: +44 (0) 207 118 7889
w: http://www.catbase.com
skype: pat.bensky
*************************************************
**********************************************************************
4D Internet Users Group (4D iNUG)
Archive:  http://lists.4d.com/archives.html
Options: https://lists.4d.com/mailman/options/4d_tech
Unsub:  mailto:[email protected]
**********************************************************************

Reply via email to