Re: NUMBER OF PAGES IN A REPORT
Posted in 2006
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!) -- Bye now, Obnoxio "C'est pas parce qu'on n'a rien ' dire qu'il faut fermer sa gueule" - Coluche did i mention i like nulls? heck, i even go so far as to say that all columns in a table except the primary key could/should be nullable. this has certain advantages, for example, if you need to insert a child record and you don't have a parent row for it, just do an insert into the parent table with the primary key value (everything else null), and voila, relational integrity is preserved. but this is, admittedly, a bit controversial among modellers. --r937, dbforums.com