Re: NUMBER OF PAGES IN A REPORT
Posted in 2006
Jean Sagi — — source: Usenet: comp.databases.informix
In principle you can count the number of records you report has previous of calling your report, then do some formula of yor own and try to guess. J. Obnoxio The Clown escribi': > Luis Carlos D'az Otero said: > >>Is there a way in 4GL, to get the total number of pages a report has? >> I get the current page number: PAGENO , but i need to print, on every >>page its length in pages. > > > Not really -- you would have to stick a character string like "XZX" into > the page number space, then use wc to calculate the length of the report > and awk (or whatever) the Page Count in. > > It's very ugly. > > (Unless of course there's a manual I haven't read again!) >