[jasperreports-questions] How about loop a sub report?

2009-06-03 Thread Peter Jin
Hi, I may need to put several sub reports in the detail section in the master report. So the sub reports will get loaded many times. Will this cause significant performance issues? Does jasper cache data source for report in this case? My case: User's data are scattered in 5 tables and I need to

Re: [jasperreports-questions] How about loop a sub report?

2009-06-03 Thread Peter Jin
Hi Chris, Thanks for your reply. Grouping can not solve my issue because it works on one data source only. In my case, data for a user scattered in 5 tables. UNION might be a way to combine all tables to a data source, but I can not use it either (explained in the first post). any thoughts? --

Re: [jasperreports-questions] How about loop a sub report?

2009-06-04 Thread Peter Jin
We have an audit system which uses separate tables with similar structure to store different kinds of activities for a user. We want to report the number of activities per activity type per user. David Bolen-2 wrote: Peter Jin jinyup...@gmail.com writes: Grouping can not solve my issue

Re: [jasperreports-questions] How about loop a sub report?

2009-06-05 Thread Peter Jin
than activity2, some of the records of activity2 will be joined multiple times. This is incorrect. Does it make sense? David Bolen-2 wrote: Peter Jin jinyup...@gmail.com writes: We have an audit system which uses separate tables with similar structure to store different kinds of activities

Re: [jasperreports-questions] How about loop a sub report?

2009-06-06 Thread Peter Jin
Hi, It works! All your posts are of great help. Thanks a ton! David Bolen-2 wrote: Peter Jin jinyup...@gmail.com writes: Let's take a look at activity1 and activity2. If activity1 has more records than activity2, some of the records of activity2 will be joined multiple times

[jasperreports-questions] How about loop a sub report?

2009-06-16 Thread Peter Jin
Hi, I may need to put several sub reports in the detail section in the master report. So the sub reports will get loaded many times. Will this cause significant performance issues? Does jasper cache data source for report in this case? My case: User's data are scattered in 5 tables and I need to