Re: 4gl reporting and page numbers
Posted in 1996
Topics: Connectivity: ESQL/C, 4GL & Embedded SQL
John Cunningham wrote: > > Hi, > This is probably a commonly asked question, but I couldn't find > anything in the faq... > Using 4gl reporting, is there anyway to reset the PAGENO back to 1? If > not, are there any known successfull workarounds? No there isn't. Why don't you simple PRINT PAGENO-offset, where offset is a variable with initial value 0. Then when you want to reset the page no to 1, simply LET offset=PAGENO. The next page will then be 1. I have not tested this theory, but then I don't test much code at all! ;-) Cheers, -- Mark. +-------------------------------------------------------------------------+ |Mark D. Stock - The West Solutions Group http://www.west.co.za | | The Informix FAQ is at http://www.iiug.org | |mailto:marks@west.co.za +------------------------------------------------+ |Tel: +27 11 803 2151 |If it doesn't work... force it! | |Fax: +27 11 803 2189 |If it breaks... it needed replacing anyway! | |Cell: +27 83 250 2325 |Well, that's how I code anyway! | +------------------------+------------------------------------------------+