Jump to content
Changes to the Jaspersoft community edition download ×

Page Breakes every three rows


2005 IR Help

Recommended Posts

By: David Imedio - imedio

Page Breakes every three rows

2004-02-04 01:22

Hi friends??

I have a problem printing my report. I access to a database and I have many rows but I want to print only three rows in each page. So if I have 10 rows from my database I will have to show it in four pages ,one with 3 rows,other with three rows,other with three rows and other with 1 row.

How can I do it???

Please help???

 

 

 

 

By: Teodor Danciu - teodord

RE: Page Breakes every three rows

2004-02-04 01:45

 

Hi,

 

The "jasper" sample has a group that breaks with

every 5 records.

You only need to add isStartNewPage="true" to it.

 

I hope this helps.

Teodor

 

 

 

 

 

By: Steinberger Jonas - steinberger

RE: Page Breakes every three rows

2004-02-04 02:47

Hi

 

jasperreports-0.5.1-project[1].zip contains all you need of jasper, there you'll find the mentioned demo "demosamplesjasperFirstJasper.."

Your answer is in the lowest groupLevel

 

Jonas

 

 

 

 

By: David Imedio - imedio

RE: Page Breakes every three rows

2004-02-04 02:05

Where is that "jasper" sample??

I wrote in the groupExpression this

$V{report_count} and isStartNewPage="true" but it breaks in every row.

What can I do??

 

 

 

 

By: David Imedio - imedio

RE: Page Breakes every three rows

2004-02-04 09:05

Thank you very much????.

I have solved my problem, but I have other one now.

I have a subreport under the detail band in a group. In the detail band I have got to write only three rows per page but how can I get to write my subreport always in the same position from the top ??

Thank you very much

 

 

 

 

By: Axel Hallez - ahallez

RE: Page Breakes every three rows

2004-02-05 14:01

If you need the subreport on each page, you can put it in the pagefooter (with a negative y value if necessary).

 

Axel Hallez

Link to comment
Share on other sites

  • Replies 0
  • Created
  • Last Reply

Top Posters In This Topic

Popular Days

Top Posters In This Topic

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×
×
  • Create New...