Welcome to Forums Sign in | Join | Help | Forums
in Search





Make the world a better place.

If {field} contains

Last post 10-06-2009 3:44 PM by Patrick Manning. 3 replies.
Page 1 of 1 (4 items)
Sort Posts: Previous Next
  • 10-06-2009 2:50 PM

    If {field} contains

    Greetings All,

    It is easy enough to use IF in this manner:

    If {CnGf_1Note_1.CnGf_1Note_1_Actual_Notes} = "Host Committee 2008 - Gala" Then

    "Host"

    Else

     " "

     

    But what function could be used to see if the field contatins "Host" rather than equals? I need this to be more flexible than looking for "Host Committee 2008 - Gala".

     

    The LEFT function works okay for this, but I think contains would be better.

     

    Thanks!

    Bryce

     

  • 10-06-2009 3:27 PM In reply to

    • Patrick Manning
    • Not Ranked
    • Posts 12
    • Organization: College of Charleston
    • Products:  The Raiser's Edge

    Re: If {field} contains

    If "Host" in {CnGf_1Note_1.CnGf_1Note_1_Actual_Notes} Then "Host"

     

    (Also, you don't need the "else" portion of the formula.  If the statement is false, nothing will show up anyway)

  • 10-06-2009 3:32 PM In reply to

    Re: If {field} contains

    It worked. 

    Thank you sir. You're a legend!

  • 10-06-2009 3:44 PM In reply to

    • Patrick Manning
    • Not Ranked
    • Posts 12
    • Organization: College of Charleston
    • Products:  The Raiser's Edge

    Re: If {field} contains

    Happy to help.

Page 1 of 1 (4 items)