aspose file tools*
The moose likes Other Open Source Projects and the fly likes Query inside Jasper Reports Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Soft Skills this week in the Jobs Discussion forum!
JavaRanch » Java Forums » Products » Other Open Source Projects
Bookmark "Query inside Jasper Reports" Watch "Query inside Jasper Reports" New topic
Author

Query inside Jasper Reports

Manish Sahni
Ranch Hand

Joined: Sep 09, 2009
Posts: 41

Hello Ranchers,

I am new to iReport. I request you guys to assist me to solve the problem.

Scenario:
I am using jasper to generate reports.
I want to have 2 queries inside the jrxml file. Depends on the parameter one of the query has to be selected and report has to be generated.
The parameters are also dynamic..



With this above i could not make it.. i do not know how to proceed... Any help would be appreciated!!!

Thanks
Kaustubh Sharma
Greenhorn

Joined: Mar 02, 2010
Posts: 28
hey I have got some code for you may be this will help you...........



if this will not work for you please let me know........
Jaikiran Pai
Marshal

Joined: Jul 20, 2005
Posts: 10288
    
168

kaustubh sharma wrote:hey I have got some code for you may be this will help you...........



While posting logs or xml content or code, please remember to wrap it in a code block by using the Code button in the message editor window. Please also use the Preview button to ensure that your post is correctly formatted.

I've fixed your post for now.

[My Blog] [JavaRanch Journal]
Kaustubh Sharma
Greenhorn

Joined: Mar 02, 2010
Posts: 28
thanks boss from the next time I will take care of it but please don't block my reply option.....
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Query inside Jasper Reports