Skip to Content

Comparison 2 field (strings)

Hallo

please help me.

is possible comparison (check) two strings? For example:

IF {t_contact.name} = {t_officialname.name} then OK else FALSE

How compare (or check) 2 fields?

many thanks

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

2 Answers

  • Feb 24, 2017 at 09:40 PM

    Hi Marek,

    You've answered your question already. Create a formula in Crystal like:

    If {t_contact.name} = {t_officialname.name} then 
         "OK" 
    else "FALSE"; 

    When you drop the formula on the report, it should show OK or FALSE if they match.

    Brian

    Add comment
    10|10000 characters needed characters exceeded

  • Feb 28, 2017 at 09:36 AM

    thanks

    I was thinking the same thing

    Add comment
    10|10000 characters needed characters exceeded