Skip to Content
0

Comparison 2 field (strings)

Feb 24, 2017 at 02:33 PM

40

avatar image

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

10 |10000 characters needed characters left characters exceeded
* Please Login or Register to Answer, Follow or Comment.

2 Answers

Brian Dong Feb 24, 2017 at 09:40 PM
0

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

Share
10 |10000 characters needed characters left characters exceeded
Marek Moravcik Feb 28, 2017 at 09:36 AM
0

thanks

I was thinking the same thing

Share
10 |10000 characters needed characters left characters exceeded