Problems with Collate

Stimulsoft Reports.NET discussion
Post Reply
Paullus Castro
Posts: 3
Joined: Tue Nov 27, 2007 2:53 pm
Location: Brasília - DF / Brazil

Problems with Collate

Post by Paullus Castro »

Hello folks...

A few days ago I was searching for a solution for printing 2 pages reports.

You added a property called "Collate" to the report that should fix the problem, but I still have the problem occurring.

I have a 2 pages report that is something like I describe below:

Page 1:
DataBand (Master)
DataBand (Detail) -> should appear or not
DataBand (Detail) -> always appear (just one time)
DataBand (Detail) -> always appear at least one time
DataBand (Detail) -> always appear

Page 2:
DataBand


Each band has it's one datasource, that are relationed to the first DataBand by 1 field.

When I set the report's property "Collate" to 2 I have the following result:

(when it should print 8 pages):
Page 1, Page 1
Page 2, Page 2
Page 1, Page 1
Page 2, Page 2

(when it should print 10 pages):
Page 1, Page 1, Page 1
Page 2, Page 2
Page 1, Page 1
Page 2, Page 2, Page 2

(when it should print 12 pages):
Page 1, Page 1, Page 1
Page 2, Page 2, Page 2
Page 1, Page 1, Page 1
Page 2, Page 2, Page 2

(when it should print 14 pages):
Page 1, Page 1, Page 1, Page 1
Page 2, Page 2, Page 2
Page 1, Page 1, Page 1
Page 2, Page 2, Page 2, Page 2

Can you help me? I'm new at Stimulsoft Reports...
(I used to use QuickReport for Delphi to make reports...)
Guest
Posts: 182
Joined: Tue Jun 06, 2006 8:04 am

Problems with Collate

Post by Guest »

The "Collate" property works in the following way:
1. Report is rendered, without use of this property.
2. After that the rendered pages of the report are sorted as follows(if Collate = 2): page[1], page[1+2=3], page[3+2=5], page[5+2=7], page[7+2=9], page[9+2=11(but count of pages = 10, so begins from second page)2], page[2+2=4], page[4+2=6], page[6+2=8], page[8+2=10]
So you must use this property proceed from above-stated.

Thank you
Post Reply