Suppressing initial Blank Page when using HEADING statement (AREV Specific)
At 06 SEP 2006 01:33:39PM Jim Leong wrote:
I have a customs report (not Rlist) which uses the HEADING and PRINT statements. Each time it prints, a blank page prints. Is there a way to suppress this? Thanks in Advance.
At 07 SEP 2006 09:51AM Dave Harmacek wrote:
You should try the option (PE) instead of (P).
However, you may find that the initial HEADING doesn't even appear. To solve that you separate the data collection from reporting. That is, have a program, let's call it REPORTIT_RUN. In it you gather up all the data needed for the report.
The reporting-only program we will call REPORTIT_NOW.
In REPORTIT_RUN put all the data into @PSEUDO. Then, it will PERFORM "REPORTIT_NOW (PE)"
In REPORTIT_NOW it will find all of the data in @PSEUDO. Everything will look good. You might even place a PRINT @(-1): at the end so that the printer ejects at the end of your report.
Dave