Question about subreport order.

Stimulsoft Reports.NET discussion
Post Reply
kanarhs
Posts: 7
Joined: Sun Dec 16, 2012 5:54 pm

Question about subreport order.

Post by kanarhs »

Hello i am trying to achive .
In a page a have two subreports , eaatch of them has the same heigth to display 12 rows at a time , so in 1st page shows
12 rows of 1st sub and 12 rows af the 2nd sub and so on.
I s it possible tha the 2nd subreport start render after the 1st finishes ?
so if the 1st sub has 30 rows and the 2nd 20 rows i want 2 pages with 1sub and at the 3rd page to start the 2nd sub to show rows.

Best Regards
Aris
HighAley
Posts: 8430
Joined: Wed Jun 08, 2011 7:40 am
Location: Stimulsoft Office

Re: Question about subreport order.

Post by HighAley »

Hello.

Please, look at the attached report template.
Report.mrt
(7.03 KiB) Downloaded 322 times
Thank you.
kanarhs
Posts: 7
Joined: Sun Dec 16, 2012 5:54 pm

Re: Question about subreport order.

Post by kanarhs »

Thats how i render mine , but my question is .
Is it possible the second report starts shows data at the 3rd page , the page that the 1st report ends render data.

I showw a similiar functionality with 2 databands and in the 1st databand i set in break tab new break after true and
break if less tha aprox 65 and works but at the end of the first databand the 2nd databand start form the end of 1sst
and not of the spesified point like subreport.

Regards
HighAley
Posts: 8430
Joined: Wed Jun 08, 2011 7:40 am
Location: Stimulsoft Office

Re: Question about subreport order.

Post by HighAley »

Hello.

We couldn't understand your problem.
Could you explain it with examples?

Thank you.
kanarhs
Posts: 7
Joined: Sun Dec 16, 2012 5:54 pm

Re: Question about subreport order.

Post by kanarhs »

in this report in your example
the first subreport has numbers betwen 1 and 25 .
the second subreport has numbers between 1 and 13 .
so in preview are 3 pages:
first page red area 1 - 10 , green area 1 -10,
2nd page red area 11 - 20 , green area 11 -13,
3rd page red area 21 - 25 , green area null,

My clients demand is with the same sample data

1st page red area 1 - 10 , green area null,
2nd page red area 11 - 20 , green area null,
3rd page red area 21 - 25 , green area 1-10,
4rd page red area null , green area 11-13,

IS that understood ?
Regards.
HighAley
Posts: 8430
Joined: Wed Jun 08, 2011 7:40 am
Location: Stimulsoft Office

Re: Question about subreport order.

Post by HighAley »

Hello.

Please, look at the attached report template.
DevidePage.mrt
(6.75 KiB) Downloaded 137 times
Thank you.
kanarhs
Posts: 7
Joined: Sun Dec 16, 2012 5:54 pm

Re: Question about subreport order.

Post by kanarhs »

I Love you !!!!

Thank you Very much , still trying to figure out how it works.

Best Regards
HighAley
Posts: 8430
Joined: Wed Jun 08, 2011 7:40 am
Location: Stimulsoft Office

Re: Question about subreport order.

Post by HighAley »

Hello.

It's a little hack. Because without Header Band the Band will start from top of the page because the components should be on any Band or it will be static on the page and components on the band will overlap such component. So the Panel1 on the Page1 is static and on the last page where it is, the header overlaps it.

Thank you.
Post Reply