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 get one page when I run report
PHelgren
I am new to BIRT and decided to start with an "easy" report to see how it would work. I have designed a form where all the fields in a record will appear on one page. I simply dragged and dropped the fields on a blank report and clicked "run". It ran (it's ugly) but I only see ONE page. There are multiple records in the table so I expected to see "1 of 17" displayed at the top of the report. So how do I get the report to display all the pages? If I preview the the records, I see all 17 but when I run the report I only get one page, the first page.
What did I miss? This seems very simple.
Thanks,
Pete
Find more posts tagged with
Comments
mwilliams
Hi Pete-
Did you put them in a table? Or did you simply just drag each field into the report design window? If you just drug them over individually without putting them in a table, delete all of that and try dragging the entire dataSet over into the report design window. That puts all the fields in a table for you.
PHelgren
Thanks. The problem is that that will give me a columnar report, which isn't what I want. I want one page per record.
When I did what you suggested, BIRT created a table and put all 17 records on one page. I want a form that prints one page per table record. I should end up with 17 pages.
For example, if I was going to create a W2 form, I would want only one employee on each form, not a list of employees on one form.
This seems so simple yet I cannot find an example that does only this. Just one record on each page, rather than a columnar format.
Is this possible with BIRT? It was very easy to do with iReport/Jasper.
Pete
mwilliams
Pete,
Sorry, guess I wasn't quite sure what you were looking for. Try using a list element from the palette. Then drag the items you want to display into the detail row of the list. Then on the page break section down in the property editor, change the after setting from auto to always. That'll probably get you closer to what you're wanting then.
PHelgren
Thanks Michael. That was what I was looking for. In this case I needed a grid to do some additional formatting and set the Break Always property on the grid and that seemed to work. But I had to put the grid *inside* the list. I think the list was the key here.
I appreciate the help.
Pete