Method Community

 

Calculated field

Last post 01-26-2015 12:31 PM by Method_Justin. 1 replies.
Page 1 of 1 (2 items)
Sort Posts: Previous Next
  • 01-25-2015 12:34 PM

    Calculated field

    I need help with the expression of a calculated field in a report

    I want the field to show 'weekly' unless the name of the work order is Lawn Service (25) and then I want 'Biweekly'

    This is what I have, but it won't let me have spaces in the name


    Iif([Activity.Comments]=Lawn Service (25),'Biweekly','Weekly')


    What am I missing?

  • 01-26-2015 12:31 PM In reply to

    Re: Calculated field

    Answer

    Hi Marcelo,

    Try putting the work order name in single quotations.

    I should also point out that the operator for "equals" is == (double equal sign).

    Hope this helps.

    - Justin

    Justin Henderiks
    Technical Sales Specialist
    Method Integration Inc.
    Toll Free: 1.888.925.6238
    Local and overseas: 416.847.0400
    Fax: 416.640.6027
    E-mail: j.henderiks@method.me
Page 1 of 1 (2 items)