Hello there.
I am a newbie to Crystal Reports Version 8.5.
I am retrieving a status code from the database via a Stored Procedure and I want to translate certain code to another "known" code and if its a finalised code to not display it at all.
I am a programmer and I know what I want to do but not the Crystal Report syntax which I've kind of been dropped in the deep end to do an enhancement and there aren't enough resources to help me learn.
To simply my problem I have written it in pseudocode so can anyone help. I'm putting this formula in the X-2 Suppress.
if({rsltStatus}= "F" OR {rsltStatus} = "N")
then suppress data/do not display at all/blank
else if ({rsltStatus}= "A" OR {rsltStatus} = "P")
display letter "I"
else if ({rsltStatus}= "I")
display letter "P"
end
I know cause I'm putting it in the Suppress X-2 it usually expects a boolean (ie true or false), I can't find the command to "display letter p in this field" ie translate it. or get it to work with boolean and print statements.
Can someone suggest any ideas?
Thanks ahead.
I am a newbie to Crystal Reports Version 8.5.
I am retrieving a status code from the database via a Stored Procedure and I want to translate certain code to another "known" code and if its a finalised code to not display it at all.
I am a programmer and I know what I want to do but not the Crystal Report syntax which I've kind of been dropped in the deep end to do an enhancement and there aren't enough resources to help me learn.
To simply my problem I have written it in pseudocode so can anyone help. I'm putting this formula in the X-2 Suppress.
if({rsltStatus}= "F" OR {rsltStatus} = "N")
then suppress data/do not display at all/blank
else if ({rsltStatus}= "A" OR {rsltStatus} = "P")
display letter "I"
else if ({rsltStatus}= "I")
display letter "P"
end
I know cause I'm putting it in the Suppress X-2 it usually expects a boolean (ie true or false), I can't find the command to "display letter p in this field" ie translate it. or get it to work with boolean and print statements.
Can someone suggest any ideas?
Thanks ahead.