I facing a problem while using if else statement.
here my code
stringvar halfshare := ToText({DataNormal.IsHalfShare});
stringvar margin := ToText({DataNormal.Margin});
if halfshare = "0" then
margin & " " & "S"
else if halfshare = "1" then
margin & " " & "H"
else
margin & " " & "R";
I have declaring the variable as above. But my output is only display the last statement which is
margin & " " & "R".
Can anyone tell me where is my problem/error?

New Topic/Question
Reply



MultiQuote



|