Re: A Brainteaser...
Posted in 1997
Use 4gl's lineno report feature (or a counter) to validate if you passed the 39 line if so skip to top of page and continue. .... on every row if lineno > 39 and this not the cost data then skip to top of page end if .... Mariusz Malogrosz Glynn Huggins <cranbourne@ndirect.co.uk> wrote in article <32e4c585.0@news-feed.ndirect.co.uk>... > I am trying to write an ACE report to print an Invoice of one or two > 64 line A4 pages. > > At line 40, a "Costs" section starts which should always be at this > position on the last page. > > The data befor line 40 may or may not be more than 39 lines long. > If it is, I need to print up to line 39, then skip to the top of the > next page and continue. > > I have tried all types of approach and so far failed. Anyone got an > idea? > > My report has a "before group of", an "on every row" and an "after > group of" section. > > The data is selected and arrays given values in the "on every row" > section. The data is tested to check the arrays contain data and then > printed by the "after group of" clause. > > My report is on the edge of being too large for ACE to handle so I > need to find an elegant solution. > > Please help! > Glynn > > > >