Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Archived » BIRT » Expression Builder for Visibility Settings(Help Needed)
Expression Builder for Visibility Settings [message #1726436] Sun, 13 March 2016 14:31
Richard White is currently offline Richard WhiteFriend
Messages: 1
Registered: March 2016
Junior Member
Hello, Can anyone help me

This is my first ever post and I am a novice with BIRT.

I am trying to use the Visibility settings to show a row depending on certain values.
I think this may be my main problem, I am not trying to hide the row if the conditions are met but show the row if conditions are met.

I would like to show the row if
failurecode = "COMBUSTION ENGINE - DIESEL" or
jpnum = "%M01-008%"))

I can achieve this individually by using either of the following in the expression builder
- BirtComp.notEqual(row["failurecode"], "COMBUSTION ENGINE - DIESEL")
- BirtComp.notLike(row["jpnum"], "M01-008")

but I cannot get them to work together

I have tried the following If statement, but I am getting errors

if (BirtComp.Equal(row["failurecode"], "COMBUSTION ENGINE - DIESEL")) {true;}
else if (BirtComp.like(row["jpnum"], "%M01-008%")) {true;}
else {false;}
Previous Topic:CancelTask.jsp not found when canceling report in viewer
Next Topic:HTML Button on reports not working
Goto Forum:
  


Current Time: Thu Apr 25 22:22:48 GMT 2024

Powered by FUDForum. Page generated in 0.02890 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top