This topic contains 2 replies, has 0 voices, and was last updated by samzad 9 years, 1 month ago.

  • Author
    Posts
  • #5462 Score: 0

    samzad
    • Contributions: 0
    • Level 1

    Hi Guys

    I was trying add a formula(Text) to save search to compare two fields by using standard not equal SQL expression <> or != with CASE statement but having Error: invalid Expression. Any idea on how to accomplish this? appreciate your help.

    Thanks

    Sam
    This is a cached copy. Click here to see the original post.

  • #5463 Score: 0

    Sireesha
    • Contributions: 0
    • Level 1

    Hi,

    This is the syntax

    CASE WHEN ( {field1} != {field2} ) THEN 1 ELSE 0 END

    Hope it helps.

    Regards,

    Sireesha

  • #5464 Score: 0

    samzad
    • Contributions: 0
    • Level 1

    thanks a million

You must be logged in to reply to this topic.