how to generate report only from given parameter

hi all,

I wanna to create report only from given parameter thro hashmap, i dont' wanna to include any query string in jrxml file.

I'm passing some n parameters from the java program, i wanna to create a report based only on this, but if i omit query string in jrxml file i got a blank report.

If i include query string, my report duplicates according to number of rows in the database.

How can i get rid of this problem,

Thanx in advance [file name=ReportTable4.pdf size=99367]

nithya's picture
13
Joined: Jul 26 2006 - 11:31pm
Last seen: 17 years 2 months ago

2 Answers:

I'm a newbee so i'm not the right person to answer your questions, but we also generate our report using parameters from java.
I have attached some code.
trycoon's picture
91
Joined: Aug 21 2006 - 7:14pm
Last seen: 17 years 1 month ago

Argh! Java-files could not be attached, so i made a zip-file.. [file name=sample.zip size=9095]

trycoon's picture
91
Joined: Aug 21 2006 - 7:14pm
Last seen: 17 years 1 month ago
Feedback