On April 27, 2024, our Sign-in and Create Account options will be unavailable from 9am-12pm ET. During this maintenance window, developer account access and free trial registration will be unavailable.

using switch statement

prashanth
prashanth Junior Member
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 1969 31 #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