Hi all,
I try to write a report as shown below. However the program seems ignored the AFTER ADVANCING clause when I used it with WRITE statement. The space lines that I desired are not appeared in the report. However, when I used BEFORE instead of AFTER, the spacing is there but appear in whole report where after each print statement, there will be a line spacing regardless of the number of line I inserted in the statement. Any idea? Thanks.
Report format:
--- SPACE ---
-- --SPACE-- --HEADER-1-- --SPACE--- --
--- SPACE ---
-----------------SPACE---------------HEADER-2-----------------SPACE-------------
CODE:
WRITE report-1 FROM header-1
AFTER ADVANCING 1 LINE.
WRITE report-1 FROM header-2
AFTER ADVANCING 1 LINE.