Jump to content
Changes to the Jaspersoft community edition download ×

Getting db data other than used in report query


johndahl

Recommended Posts

If I have report query which gives employee info(having fields name, address, phone no only) and if I need to display their salary info, which is not available in the report query, how can I show salary value in report?

 

I tried using subdataset creating a new to pull employee salary, but I don't know how to use it. Is this case a correct one to use subdataset? Please give me an example of using subdataset.

 

Thank you in advance.

Link to comment
Share on other sites

  • Replies 2
  • Created
  • Last Reply

Top Posters In This Topic

Popular Days

Top Posters In This Topic

Actually that's just an example to explain the situation. In my case, all data cannot be pulled from a single query, so the report query just pulls the main info(name, address, phone no only), but since I need to show salary info(we can assume that the main report query can't pull salary info along with employee info), how can I show salary info. Does JasperReport allows to use multiple report queries?
Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×
×
  • Create New...