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 Dynamic Query Selection Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Products » Other Open Source Projects
Bookmark "Dynamic Query Selection" Watch "Dynamic Query Selection" New topic

Dynamic Query Selection

Thomas Devan

Joined: Jul 15, 2009
Posts: 1
Hello Ranchers,

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

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 couldnot make it.. i donot know how to proceed... Any help would be appreciated!!!

It is sorta covered in the JavaRanch Style Guide.
subject: Dynamic Query Selection
Similar Threads
[RESOLVED] jasper & iReport multi-reports
Error while exporting to PDF using Jasper Report
problem passing parameters from PHP to JRXML
JasperReport : Dynamic SQL Query to inside <queryString> Tag of jrxml file
Query inside Jasper Reports