Win a copy of Design for the Mind this week in the Design forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Query inside Jasper Reports

 
Manish Sahni
Ranch Hand
Posts: 41
Java Netscape Safari
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 28
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Pie
Posts: 10447
227
IntelliJ IDE Ubuntu
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
Kaustubh Sharma
Greenhorn
Posts: 28
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
thanks boss from the next time I will take care of it but please don't block my reply option.....
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic