BIRT Exchange Forum: Only get one page when I run report - BIRT Exchange Forum

Jump to content


 

No Latest Open Poll.

Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

Only get one page when I run report Rate Topic: -----

#1 User is offline   PHelgren Icon

  • Junior Member
  • Pip
  • Group: Members
  • Posts: 8
  • Joined: 02-July 08


Posted 02 July 2008 - 06:42 AM

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
0

#2 User is offline   mwilliams Icon

  • BIRT Guru
  • Icon
  • View blog
  • Group: Administrators
  • Posts: 12965
  • Joined: 16-May 08


Posted 02 July 2008 - 06:49 AM

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.
Regards,

Michael

Twitter
Facebook
Blog
Yahoo: mwilliams_actuate@yahoo.com
Google: mwilliams.actuate@gmail.com
0

#3 User is offline   PHelgren Icon

  • Junior Member
  • Pip
  • Group: Members
  • Posts: 8
  • Joined: 02-July 08


Posted 02 July 2008 - 07:41 AM

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
0

#4 User is offline   mwilliams Icon

  • BIRT Guru
  • Icon
  • View blog
  • Group: Administrators
  • Posts: 12965
  • Joined: 16-May 08


Posted 02 July 2008 - 07:51 AM

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.
Regards,

Michael

Twitter
Facebook
Blog
Yahoo: mwilliams_actuate@yahoo.com
Google: mwilliams.actuate@gmail.com
0

#5 User is offline   PHelgren Icon

  • Junior Member
  • Pip
  • Group: Members
  • Posts: 8
  • Joined: 02-July 08


Posted 02 July 2008 - 08:56 AM

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
0

Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

1 User(s) are reading this topic
0 members, 1 guests, 0 anonymous users