Discussions
Categories
Groups
Community Home
Categories
INTERNAL ENABLEMENT
POPULAR
THRUST SERVICES & TOOLS
CLOUD EDITIONS
Quick Links
MY LINKS
HELPFUL TIPS
Back to website
Home
Intelligence (Analytics)
Only one page generated (Beginner question)
Lea
Hi,
I'm probably just too dumb to see it, but I am not able to generate a report that contains more than one page/one data row.
I have a some data and put the fields it into a report. Not in a table but in a data field. I expected BIRT to generate one page for each data row. But I only get the first entry on one page. I can see that the fetch event is called more than once. But only one is shown.
Please find attached a report file, that I changed due to my needs and found here in the forum. Generating the report results in only one page although more data is available.
Thanks.
Find more posts tagged with
Comments
mwilliams
Hi Lea,
To get all of the rows from a data field, you need to use a table or a list. They are the only ones that iterate over the entire result set. Just using a data element only will give you the last value in the dataSet. This sounds like where you're running into an issue. The entire dataSet is still ran, which is why you see the fetch being called more than once, but your single element doesn't iterate over the results. Hope this helps. Let me know if you have questions.
Megha Nidhi Dahal
Hi Lea,
Repeating data should be in a detail row. Table and lists are the one that contains such rows. Using just a grid and adding these data elements will display only the last value.
Arpan
Lea
Hi Michael, hi Arpan,
thanks. These are very bad news. So I have to call the report generation in my RCP app for each result...is it possible to merge several reports to one? (But this is probably the wrong forum for that).
Thanks,
--Lea
mwilliams
Lea,
Can you explain more about what you're trying to do? If you have lots of data in your dataSet and want to display all of it, you need to use a table. From there, you can use grouping to separate your results to their own "section". Not sure what your data looks like and what you're trying to do. If you can explain more, I might be able to help.
Lea
<blockquote class='ipsBlockquote' data-author="'mwilliams'" data-cid="78779" data-time="1308584766" data-date="20 June 2011 - 08:46 AM"><p>
Lea,<br />
<br />
Can you explain more about what you're trying to do? If you have lots of data in your dataSet and want to display all of it, you need to use a table. From there, you can use grouping to separate your results to their own "section". Not sure what your data looks like and what you're trying to do. If you can explain more, I might be able to help.<br /></p></blockquote>
<br />
I wanted to do something similar to a serial letter. I've finally found some examples doing that with a table. It was my fault that I assumed I could do that with a simple (dynamic)text field. The solution with the table is ok for me now. A bit more complicated than I thought, but it fits to the structure of BIRT that I slowly begin to understand :-).<br />
<br />
Thanks for your very kind help.<br />
<br />
--Lea
mwilliams
Not a problem. Let us know whenever you have questions!