Hi, I was hoping someone could help me. I have created a formula field '@mystatus' with the following (crystal syntax):
if "revoked" in {PRIMARYCODE_1.DISPLAYVALUE} then
"Revoked"
else if "withdrawn" in {PRIMARYCODE_1.DISPLAYVALUE} then
"Withdrawn"
else
"OK"
I have applied @mystatus to each row. I am finding that I am getting rows listed with "Revoked" and others with "Withdrawn" in this column. However all the other rows are empty. Why is this? I want the other rows (which have neither the text "Revoked" or "Withdrawn") to have the value "OK".
I am grouping by @mystatus.
Any help most appreciated!
cheers, Voirin
if "revoked" in {PRIMARYCODE_1.DISPLAYVALUE} then
"Revoked"
else if "withdrawn" in {PRIMARYCODE_1.DISPLAYVALUE} then
"Withdrawn"
else
"OK"
I have applied @mystatus to each row. I am finding that I am getting rows listed with "Revoked" and others with "Withdrawn" in this column. However all the other rows are empty. Why is this? I want the other rows (which have neither the text "Revoked" or "Withdrawn") to have the value "OK".
I am grouping by @mystatus.
Any help most appreciated!
cheers, Voirin