Excel stores its dates as numbers counting days since January 1, 1900. This presents a problem creating Jasper Reports that expects a number of milliseconds since January 1, 1970 used in the JSE standard java.util.Date class. This blog shows how to use a library embedded in iReport Designer to correctly handle the Excel dates in a report.
Featured Post
Applying Email Validation to a JavaFX TextField Using Binding
This example uses the same controller as in a previous post but adds a use case to support email validation. A Commons Validator object is ...
Saturday, September 22, 2012
Wednesday, September 5, 2012
The Improved Crosstab Counter in Jaspersoft iReport Designer
This post uses a specially-defined report Variable to keep a running count for display alongside a Row Group in a JasperReport Crosstab. Crosstab rows don't have the same access to global Variables as other report elements, but a Measure can be used as a bridge.
Saturday, September 1, 2012
A Crosstab Counter in Jaspersoft iReport Designer
This video shows how to number the rows in a Jasper Reports crosstab. A custom Java class 'Counter' is used in a Text Expression. The expression retrieves the current value and increments the counter.
Developing a class in the Eclipse IDE for use in iReport Designer is also featured.
The code referenced in the video is available here. It's compiled using Java 6 into a JAR file here which is ready to use in iReport Designer 4.7.0.
Developing a class in the Eclipse IDE for use in iReport Designer is also featured.
The code referenced in the video is available here. It's compiled using Java 6 into a JAR file here which is ready to use in iReport Designer 4.7.0.
Subscribe to:
Posts (Atom)