Creating reports programmatically. Header and details from a difference data set. [message #222487] |
Tue, 06 March 2007 03:25 |
Eclipse User |
|
|
|
Originally posted by: arthur1968.gmail.com
I have a performance issue with the following situation. Maybe I'm doing
something wrong or maybe somebody has a better idea the solve my problem.
The situation is as follows:
All data comes from a xml file and I have created 1 data source. From this
data source I create 2 data sets. One for the table content and one for the
headers of that table.
I had to create 2 data sets because the header text is in a different
section of the xml file.
What I do is:
1. I create a table with a header and specify dataset1 for the table
details.
2. In the header fields I add data items to each cell. They all use the same
dataset (dataset2) but with there own collumn binding with the respective
expression.
When I have more than 4 or 5 of these data items in my header cells it takes
minutes to show the report in the viewer while we are talking about a very
small set of data.
I want to do this this way because I want the header cell still to be in
line with the table cells. I've tried to create a grid in the first header
cell (merged with all the other header cells of course) and link that one to
the second dataset. That works very good and fast but I cannot get the
header cells in line with the table cells.
This creation of the report design is done programmatically.
Does somebody have some recommendations? It would be really appreciated.
Thanks
Arthur
|
|
|
Powered by
FUDForum. Page generated in 0.04605 seconds