i want to print a sentence in the same total line, but if i use report procedures like:
After-break or before-break, the sentence is printed after the total line and before total line...
How i print this sentence in the same line of total line??
the code:
REPORT RELAT1 LINESIZE 132 PRINTER RELAT DTLCTL EVERY SPACE 1 +
SUMCTL HIAR
SEQUENCE F53SEPLT F53SEREG
CONTROL F53SEPLT
TITLE 1 +
' example test.'
TITLE 2 +
' INformation'
HEADING F01FCDIV ('DIV')
HEADING F53SEPLT ('PLT')
HEADING F53SEREG ('REG')
HEADING F01FCSEC ('SECT')
HEADING F53SENOM ('NAME')
HEADING DATAOP ('OPCAO')
HEADING F53SEOP1 ('MOD. 1')
HEADING PREMIO ('AWARD')
HEADING DATANASC ('NASCTO')
HEADING F53SECPF ('CPF')
HEADING F01FCCAF ('COD.AFAST')
HEADING DATA-AFAST ('DTA.AFAST')
LINE 1 F01FCDIV F53SEPLT F53SEREG F01FCSEC F53SENOM DATAOP +
F53SEOP1 PREMIO DATANASC F53SECPF F01FCCAF DATA-AFAST
AFTER-BREAK. PROC
IF LEVEL EQ 1
DISPLAY ' TOTAL AWARDS OF PLANT ' F53SEPLT ':'
END-IF
IF LEVEL EQ 2
DISPLAY 'TOTAL AWARDS: '
END-IF
END-PROC
SUMCTL HIAR
SEQUENCE F53SEPLT F53SEREG
CONTROL F53SEPLT
TITLE 1 +
' example test.'
TITLE 2 +
' INformation'
HEADING F01FCDIV ('DIV')
HEADING F53SEPLT ('PLT')
HEADING F53SEREG ('REG')
HEADING F01FCSEC ('SECT')
HEADING F53SENOM ('NAME')
HEADING DATAOP ('OPCAO')
HEADING F53SEOP1 ('MOD. 1')
HEADING PREMIO ('AWARD')
HEADING DATANASC ('NASCTO')
HEADING F53SECPF ('CPF')
HEADING F01FCCAF ('COD.AFAST')
HEADING DATA-AFAST ('DTA.AFAST')
LINE 1 F01FCDIV F53SEPLT F53SEREG F01FCSEC F53SENOM DATAOP +
F53SEOP1 PREMIO DATANASC F53SECPF F01FCCAF DATA-AFAST
AFTER-BREAK. PROC
IF LEVEL EQ 1
DISPLAY ' TOTAL AWARDS OF PLANT ' F53SEPLT ':'
END-IF
IF LEVEL EQ 2
DISPLAY 'TOTAL AWARDS: '
END-IF
END-PROC
The result:
21 2615,98
TOTAL AWARDS OF PLANT 21:
0 269567,90
TOTAL AWARDS :
TOTAL AWARDS OF PLANT 21:
0 269567,90
TOTAL AWARDS :
but i want:
TOTAL AWARDS OF PLANT 21: 2615,98
TOTAL AWARDS : 269567,90
thanks all help!