• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

Query inside Jasper Reports

 
Ranch Hand
Posts: 41
Netscape Safari Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
 
Greenhorn
Posts: 28
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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........
 
Sheriff
Posts: 10445
227
IntelliJ IDE Ubuntu
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
    Number of slices to send:
    Optional 'thank-you' note:
  • 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.....
reply
    Bookmark Topic Watch Topic
  • New Topic