The following are useful tips for non-Java people like me. Adding Groovy support to iReport should do the trick but it requires an additional library. The tricky part with iReport variables is getting the data types to match. The highlighting feature of Eclipse BIRT is much better than how it is being done in iReport/Jasperreports. I usually use an arrow character than changing the background color as it looks cleaner in the report design. Accessing variables, parameters and fields $P{fieldName} - is for parameter $F{fieldName} - is for fields $V{variableName} - is for variables To highlight a row when it reaches a certain condition: 1. Add a text field 2. In the properties under PrintWhenExpression: new Boolean($F{owner}.equals("username")) The key thing here is that if the field owner is true, it will print the text field. To set a default date: new SimpleDateFormat("yyyyMMdd").parse("20050101") To show overall statistics on the first page of the r...
A blog for collecting tips and tricks on useful tools for your business or personal use. Covers websites, apps and gadgets.