cancel
Showing results for 
Search instead for 
Did you mean: 

Delivery Order Crystal Report

shikin
Participant
0 Kudos

I have a multiple condition here on my crystal reports. This condition is under details d. So i have this formula:

if isnull({DLN1.U_KitType}) or {DLN1.U_KitType} = "" then true else false

but I want to add another condition where dln1.u_KitType=1/4 leather, it will display 'RAHMAH' wording instead of 1/4 leather. I am using this formula but error come out:

if isnull({DLN1.U_KitType}) or {DLN1.U_KitType} = "" then
true
else if {DLN1.U_KitType} = "1/4 leather" then
"RAHMAH"
else
false

can someone help me? Thank you so much.

Accepted Solutions (0)

Answers (1)

Answers (1)

ido_millet
Active Contributor
0 Kudos

IF THEN ELSE statements must return the same data type in all branches.

You are trying to return a mix of boolean & String.

shikin
Participant
0 Kudos

hi ido.millet , may i know what is the correct one?