Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Using Report/Flow/PageFooter 1

Status
Not open for further replies.

Maximo52Begin

Technical User
Feb 22, 2006
3
FR
Hello,
(I am french, so sorry for my english!!)
I try to do a report with a LOT of sub-report (13)
and i want that the last one appears on the first page, in the footer but not in the others pages.

I 've tried the using of "PageStyle and Flow" and it doesn't work because
whith a pageList = "title/body page" or "simple Page list"
the others subreports don't take the place on the others pages, when I generate the report.

So after i've tried to put my content in a "PageFooter-Frame" but it takes the place just after the last sub-report(if i put after my 13th sub-report so Not On 1rst page), or if i put on the "big report"(General report) it appears in all the pages (Normal!!)

So do you know a method for leave the "PageFooter" ONLY "On The First Page"???
Or how to modify/use the Function "GetFooter" or "GetPageIndex"....

Help pleaseeeee....
thank for your help...
Sonia
:)
 
To have the PageFooter to appear ONLY on page 1,
tru this.

Inser the code below in the Start() method of the pagefooter frame. It simply creates a flag that calls Super:: to insert the footer frame ONLY when its the first time through.

Regs
Milton

' -------------------------
Sub Start( )

Static p1 As Integer

IF p1 = 0 THEN
showFactorystatus("This is first page")
Super::Start( ) ' Insert Page Footer
p1 = 1 ' Change flag
END IF


End Sub
 
Thanks a LOT !!!!
It is working!!!

I change the Start() method of the PageFooter in the "ConditionalSection" (Content of the Big report!!)


:)
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top