ozrebel Posted July 10, 2014 Share Posted July 10, 2014 Hi thereI posted this a week or so ago, but so far no luck, so I thought I would try again. Does anyone have any idea on the issue below? Thanks in advance.I am tring to achieve a couple of things with a table I have in a report.The first is if a field in a record exceeds a particular value I want to print another row below that row with some warning text in one field, and another value in another field. I have tried to achieve this using groovy, and have tried the following without any luck:AND($F{Stats_Days}>=250)||"305 days due"The second thing I want to achieve might not be possible, but again, if a field exceeds a particular value I want to add another row with some different data.Any help or advice would be gratefully received.CheersTony Link to comment Share on other sites More sharing options...
hozawa Posted July 11, 2014 Share Posted July 11, 2014 Have you tried using sub-reports with print when expression? Link to comment Share on other sites More sharing options...
ozrebel Posted July 17, 2014 Author Share Posted July 17, 2014 Thanks for the reply. I probably also should have said that I am using a table. In the end it was easier to create a query in sql to get exactly the data I needed. Thanks for taking the time to reply :-) Tony Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now