File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes Other Open Source Projects and the fly likes need help in ad-hoc reports Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Products » Other Open Source Projects
Bookmark "need help in ad-hoc reports" Watch "need help in ad-hoc reports" New topic

need help in ad-hoc reports

Adeel Ansari
Ranch Hand

Joined: Aug 15, 2004
Posts: 2874
Hi folks,

I am doing reports with JasperReports. It worked fine for me.

Now the requirement is to generate ad-hoc reports. The user is going to select some specific columns for report. I have done the Filter stuff but how to do projection using JasperReport.

We need to author a .jrxml file before compiling and filling a report, while using JasperReport. All the required columns and report elements like; font face, font size, field types, group, column header, column footer, vertical/horizontal, etc.; need to be defined there in .jrxml file.

How can we design the report at runtime? Couldn't do the same because dont know how many and how much and which columns the user going to select. Forget grouping the records together right now.

Note: Its a web app.
Alexandru Popescu
Ranch Hand

Joined: Jul 12, 2004
Posts: 995
Adeel have you tried the JasperReports mailing list/author?


blog -
Adeel Ansari
Ranch Hand

Joined: Aug 15, 2004
Posts: 2874
Thanks its a nice option. Will be back with some tools/tips, insha allah.

I agree. Here's the link:
subject: need help in ad-hoc reports
It's not a secret anymore!