Focal Point
BY TOTAL and TABPAGENO

This topic can be found at:
https://forums.informationbuilders.com/eve/forums/a/tpc/f/7971057331/m/6961067331

November 10, 2003, 05:19 PM
Vivian
BY TOTAL and TABPAGENO
We have a report that uses the BY TOTAL column and then in the footing:
"<TABPAGENO> OF <TABLASTPAGE "

What happens is that we always get a 0 for the tabpageno. Is this a bug? We overcame it by using tablastpage since it is only a one page report anyway.

Webfocus 5.2.1
Vivian Confused
November 10, 2003, 05:52 PM
<Satish Paladugu>
Vivian,
In your define block write this.

TABPAGENO = DECODE TABPAGENO ( 0 ' '
ELSE TABPAGENO );

TABPAGE/A50 = IF TABPAGENO EQ ' ' THEN ' '
ELSE TABPAGENO | ' OF' | TABLASTPAGE;

In the footing write this:
"<TABPAGE"

Does this answer your question?

Thanks and Regards
Satish Paladugu