Re: ACE Report Question #2
Posted in 1997
On 23 Oct 1997, Max wrote [in a less compressed format]: } Mark D. Stock (mdstock@informix.com) wrote: } : Max wrote: } : > 2nd question - is there a way to put a page break control } : > character into an ACE report? } : Simply set the top of page character in your OUTPUT section as follows: } : OUTPUT } : TOP OF PAGE "^L" } : where the CONTROL-L is two characters; a "^" and a "L". } } I've implemented this and it works to some degree. However, from what I } can tell the form feed/page break character is only inserted in the ACE } report output where it reads PRINT ASCII 012 or SKIP TO TOP OF PAGE when } TOP OF PAGE is set to "^L". } } If the output is set to PAGE LENGTH 50 and it hits the 50th line mark } there is no page break character inserted. I've not investigated this, but one possibility is that you've set the bottom margin to zero. That would mean that once the last line on the page is completed by the newline, the output is already in position at the top of the next page, so the report would not print the form feed. Try setting the bottom margin to 1 and the page length to 51 and see whether that works. Yours, Jonathan Leffler (johnl@informix.com) #include <witticism.h>