Skip to main content



      Home
Home » Archived » BIRT » Page break
Page break [message #168007] Tue, 06 June 2006 15:04 Go to next message
Eclipse UserFriend
Originally posted by: barrerager.delsatgroup.com

I want to insert a page break after every 5 rows in the attached report.
Anyone can help me?
I
Re: Page break [message #168060 is a reply to message #168007] Tue, 06 June 2006 21:34 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: jgagarin.info-alchemy.com

from the report designer, select the table. then, select "Page Break" on the
property editor. Finally, set the "Page Break Interval" to any value you
want.

"Barrera, German" <barrerager@delsatgroup.com> wrote in message
news:e64jfa$9gg$1@utils.eclipse.org...
>I want to insert a page break after every 5 rows in the attached report.
> Anyone can help me?
> I
Re: Page break [message #168100 is a reply to message #168060] Wed, 07 June 2006 07:26 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: barrerager.delsatgroup.com

Thank you Jag but in my BIRT version this option is not available.
Another idea?

German.

"Jag" <jgagarin@info-alchemy.com> escribi
Re: Page break [message #168127 is a reply to message #168007] Wed, 07 June 2006 10:15 Go to previous messageGo to next message
Eclipse UserFriend
Same problem here. Page Break settings are not applied to frameset view.

My version is BIRT 2.1.0RC4

Thank you in advance.
Mauro



Barrera, German wrote:

> I want to insert a page break after every 5 rows in the attached report.
> Anyone can help me?
> I
Re: Page break [message #168343 is a reply to message #168127] Wed, 07 June 2006 18:25 Go to previous messageGo to next message
Eclipse UserFriend
Page Break Interval was removed from 2.1. It worked only for HTML output.

To apply a page break after a certain number of rows:
1) At the table level, create a column binding, for example, row_index, and
set its expression to Total.runningCount(). This function (new in 2.1)
returns the current row number.
2) Create a group. Group on the column binding you created. Select Interval,
and set Range to the number of rows in each group. Then set Page Break After
(in the same group dialog) to Always Excluding Last.

This is the correct procedure. However, it might not be working yet. There
is a bug filed.


"Mauro R. Ubeda" <ubeda@delsatgroup.com> wrote in message
news:e66n1b$7fp$1@utils.eclipse.org...
> Same problem here. Page Break settings are not applied to frameset view.
>
> My version is BIRT 2.1.0RC4
>
> Thank you in advance.
> Mauro
>
>
>
> Barrera, German wrote:
>
> > I want to insert a page break after every 5 rows in the attached report.
> > Anyone can help me?
> > Im using
> > Eclipse 3.2
> > Tomcat 4.1.27-LE-jdk14
> > BIRT 2.1.0RC4
> >
> > Thank you in advance.
> > German
>
Re: Page break [message #184561 is a reply to message #168007] Mon, 14 August 2006 07:26 Go to previous message
Eclipse UserFriend
Originally posted by: harunhasdal.gmail.com

Barrera, German wrote:
> I want to insert a page break after every 5 rows in the attached report.
> Anyone can help me?
> I´m using
> Eclipse 3.2
> Tomcat 4.1.27-LE-jdk14
> BIRT 2.1.0RC4
>
> Thank you in advance.
> German
>
>
Under BIRT 2.1.0 you can only use pageBreakAfter, pageBreakBefore,
pageBreakInside properties for page breaks and these properties can be
used for a limited number of components (eg table,table group etc.)

If you want to use page breaks between some number of records in a table
you must do some workaround on your dataset. You can add a computed
column into your dataset that specifies page number for each record.
This can be done with an expression like below for a page size of 10.
`row[0] / 5`

Then you can make a table group on the computed column and use
pageBreakAfter property.

I hope this helps. It was the only way i found.
Previous Topic:is DesignEngine should singletone???
Next Topic:Reuse query defined in "Data Set - Query"
Goto Forum:
  


Current Time: Wed May 14 17:53:56 EDT 2025

Powered by FUDForum. Page generated in 0.04018 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top