[Date Prev][Date Next][Thread Prev][Thread Next]
[Author Index] [Date Index] [Thread Index]
[SQR-USERS Info] [SQRUG Home Page]

Re: EXTRA BLANK PAGE AT THE END OF THE REPORT - Sorry..its still not solved! No!!



If all that hapens in the after procedure is a new-page comand then change
the "after=newpage" to "before=newpage".  In the procedure itself, change
it to...

begin-procedure newpage
   if #need_page_break
      new-page
   else
      move 1 to #need_page_break
   end-if
end-procedure

... the variable #need_page_break (not pre-defined) will default to a
value of 0 (which evaluates to false).  The first time it hits the
procedure, it will switch it to 1 (true) and thereafter, it will fire off
a new-page (in effect, issueing a new-page only *between* the breaks, but
not before the first one or after the last one)

HTH,
Don

On Thu, 18 Jul 2002, Anna Mendenhall wrote:

> I was to fast to conclude that my problem was solved. I previously
> mentioned that after=newpage caused my problem. When I got rid of it,
> the blank page at the end of the report dissapeared. However, now
> ON-BREAK option is not working properly. After the break, I need to go
> to the NEW PAGE and of course, getting rid of after=newpage option
> prevented going to the NEW PAGE. Is there another way to go to the new
> page after break?? Aside from using after=newpage, which is obviously
> causing extra blank page to be printed at the end of the report?
>
> Regards
>

-----------------------------------------------------------------------
Donald Mellen  | Ray Ontko & Co. - Richmond, IN - http://www.ontko.com/
donm@ontko.com |  "In the beginning, there was nothing, which exploded"