November 10, 2003, 05:19 PM
VivianBY 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
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