I have two seperate fields, if they return the same value I want to display that value, if they do not then I want to display another field. I tried to use the formula below:
If {CnBio_Org_Name} = {CnPrBs_Org_Name} Then {CnBio_Org_Name} Else {CnBio_Name}
Here is a sample of the data with the results I am getting:
CNBio Org Name: Fairview
Result : Blank
CnBio Name: John
CnPrBS Org Name: Fairview
Result: John
What I want the results to display are:
CNBio Org Name: Fairview
Result : Fairview
CnBio Name: John
CnPrBS Org Name: Fairview
Result: Fairview
Also it is of note that in the database file the fields
CNBio Org Name and CnPrBs Orn Name are linked (so if CNPrBs Org Name exists it will appear exactly the same as the CnBio Org Name).
How do I write this formula?
Software/Hardware used:
Crystal Reports 2008
ASKED:
February 15, 2010 11:19 PM
UPDATED:
February 16, 2010 1:59 PM