General information
Category:
Reports & Report designer
Well this did not work; however after looking more closley I had every item in my detail band set to float. After I set the uppermost field in the detail band to "Fixed relative with top band" the page number started working correctly.
>>It appears that _pageno is incremented after the detail so I thought I would be bright and use _pageno + 1 in my page header. It appeared to be working great until my customer informed me that the page number was not incrementing if a detail line item spanned accross multipal pages. Any suggestions. How can I make my own varible increment with every page. If I put the page number in the page footer it works great however this does not fit my customers specs.
>
>Use a global varible and call a UDF to increment it in the page footer.
>
>(1) In the page footer put a field with the value incrpageno(), set the print when to .F. and check remove if blank.
>(2) In the detail section reference the variable nMyPageNo
>(3)In the calling program do the following:
>nMyPageNo = 1
>report form myReport
>function incrpageno
>nMypageNo = nMyPageNo+1
>return
>
>I have not tested this but this is close to an answer.
>
>Hope I helped
>Robert
Previous
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only