using switch statement

prashanth
edited February 11, 2022 in Analytics #1
i used the Switch/case statement to replace the value retrived from database with that of sensible text to be displayed in a field but its not working. I have used in the Expression builder iof the BIRT and also the Javascript engine in all the event handlers.

can anybody help me to solve this issue.

Thanks
Prashanth

Comments

  • rmurphy
    edited December 31, 1969 #2
    Have you tried to change the values using the BIRT mapping capabilities? This allows you to specify a condition, and when the condition is met you can display a specified value.

    To create a map, select the data element on the report, and in the Property Editor, select the Map tab.

    Rob