Boolean Field

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • peterberlin
    Active Community Member
    • Mar 2015
    • 1004

    Boolean Field

    Hello,
    what is the best way to query a Boolean field with a formula?
    field name =='1';
    field name == 1;
    field name != null;
    field name != '';

    Peter
  • tanya
    Senior Member
    • Jun 2014
    • 4308

    #2
    field name

    ifThen(field name, action)

    Comment

    • peterberlin
      Active Community Member
      • Mar 2015
      • 1004

      #3

      Thank you.
      Another question about action in ifThen/Else. Can multiple actions be defined? There is only one action in the examples in the documentation.

      Comment

      • tanya
        Senior Member
        • Jun 2014
        • 4308

        #4
        yes, separated with ';'
        ifThenElse(condition, actionTrue1; actionTrue2; ... actionTrueN, actionFalse1; actionFalse2; ... actionFalseN)

        Comment


        • esendino
          esendino commented
          Editing a comment
          This should be included in the documentation. IMHO

        • rodrigocoelho
          rodrigocoelho commented
          Editing a comment
          Yes, this should be on manual.
      Working...