Quantcast
Channel: SCN: Message List
Viewing all articles
Browse latest Browse all 9129

Crystal Reports - "Formula Editor"

$
0
0


Hi All,

 

I have requirement in report as described below.

I will get some input value(it will be from 1 to 5) and depends on that input values i need to show some message to the user. so here i used "select" control structure as shown below.

select input

Case 1: "A"

Case 2: "B"

.

.

Case 5: "E".

It will work fine. depends on input it will disply corresponding character.

Now again i have requirement like if the input value is 2 then depends on some condition again i have to write select statement as like below.

 

select input

Case 1: "A"

Case 2:

(

if(true) then

(

select isubinput

Case 1: "M"

Case 2: "N"

.

.

.

Case 6: "R"

default: " "

)

else

"B"

)

Case 3:"C"

Case 4: "D"

Case 5: "E".

here i am concluding my question.

i.e, i want to write select condition then inside select in some case  i will some if condition and depends on that i need to write select condition for this case. then followed by remaining cases of main select.

 

Let me know.


Viewing all articles
Browse latest Browse all 9129

Trending Articles