Home General

How to print 'To be continue' for all page except the last page

edited September 2001 in General
I have a field "invoice total" (tdbtext) placed in page style. And I want
to print it as
'To be continue' for all page except the last page

If the field value is 100

For example
page 1 : ' To be continue'
page 2 : ' To be continue'
page 3 : 100

As it may work like this : add two tppsystemvariable, pageno and pagecount
and set it as two-pass.
In pagestyle.beforeprint :
Firstly, save the value to a variable
and check the pageno and pagecount
if equal , print the value
if not, print ' to be continue'
But I think it is not a good ways.

How to do it in a good way ?

Comments

  • edited September 2001
    Our main master detail demo repot in your installation show how to display a
    Continued... for overflowing detail data. You'll need to use a twopass
    report such that the first pass will get the page count and you can
    determine when to display the 'To be continued' label in the second pass by
    simply checking the Report.AbsolutePageNo equals Report.AbsolutePageCount


    Cheers,

    Jim Bennett
    Digital Metaphors


This discussion has been closed.