Re: Sometimes I just wonder, "WHY?!"
Posted in 1994
Peter Wiley - Poultry (peter@prospect.anprod.csiro.au) wrote: : I always use the FIRST PAGE HEADER block to initialise all my report variables : then follow it with the actual header control code. I duplicate the header : control code (cut & paste) for the PAGE HEADER block. Never had any real : problems with this (except occasionally forgetting to edit both sections :). : A bit of a pain but perfectly workable. : Peter Wiley Ever tried this? FIRST PAGE HEADER ... do some initial stuff ... goto real_page_header skip 8 lines PAGE HEADER label real_page_header: ... print 8 lines of header stuff ... Pretty ugly, but it works! I've used it when it was just too painful to cut and paste the whole header (about 50 source lines). You have to include the "skip 8 lines", even though it never gets executed, and it has to match the size of the actual page header or the internal report line counter gets very confused. Sometimes 4GL suprises me for what it allows :-) Jeffrey Sturm