Page Number Reset in Break Groups

forum.reportbuilder (2000-2005) & forum.td.reportbuilder (2005-2010)
NewsgroupServer
Robot
Robot
Posts: 118939
Joined: 24 Feb 2017, 12:00
Location: World wide

Page Number Reset in Break Groups

Post by NewsgroupServer » 22 Apr 2009, 22:28

 Posted by:  Remi 

Hello

Someone knows how to reset the page number in a break group.
I want to reset the page number to 1, when my break group changes
but i can't find how to do that.

thank you in advance.

Remi

NewsgroupServer
Robot
Robot
Posts: 118939
Joined: 24 Feb 2017, 12:00
Location: World wide

Page Number Reset in Break Groups

Post by NewsgroupServer » 23 Apr 2009, 07:28

 Posted by:  F R Bhote 

On SAM_ReportNotify
If lParam = RPT_BeforeBreakHeader1
Set nPage = 1

NewsgroupServer
Robot
Robot
Posts: 118939
Joined: 24 Feb 2017, 12:00
Location: World wide

Page Number Reset in Break Groups

Post by NewsgroupServer » 23 Apr 2009, 17:23

 Posted by:  Remi 

Nice try but it seems that i'm gonna need a variable in the program.
But i have a 2000 pages report and now is really slow, with that is gonna
take for ever..
Any other ideas.

--
Remigio Zeballos
Municipalidad de Ate
rzeballosp@muniate.gob.pe
3520809

NewsgroupServer
Robot
Robot
Posts: 118939
Joined: 24 Feb 2017, 12:00
Location: World wide

Page Number Reset in Break Groups

Post by NewsgroupServer » 24 Apr 2009, 07:20

 Posted by:  F R Bhote 

Should not take too long - I have made several reports that are more than
10,000 pages and it gets done in about half an hour max. Can we see the code
from ReportFetchInit? Perhaps others here can help you too.

Return to “td.reportbuilder”

Who is online

Users browsing this forum: Ccbot [Crawler] and 0 guests