QTIPS - Sub-Headings in RLIST (Revisited)

Published ByDateVersionKnowledge LevelKeywords
Sprezzatura Ltd01 OCT 19912.1+EXPERTHEADING, RLIST, INIT.VIEW

Manuel Luna of R/Sistemas in Mexico suggested the following application of "Aesthetically Improving R/List Reports" (from REVMEDIA Vol 1 Issue 7 Page 11) in conjunction with the query in the July issue about Sub Headings. Make the following dictionary in the VOC file called S_BREAK

    TIPO = {F1}
    SUBTITULO = ("." : TIPO : ".") "C#40"
    CONVERT " ." TO "- " IN SUBTITULO
    IF @RECCOUNT = 1 THEN
     @USER1<1> = TIPO
     PRINT ; PRINT SUBTITULO
    END ELSE
     IF @USER1<1> # TIPO THEN
      @USER1<1> = TIPO
      PRINT ; PRINT SUBTITULO
     END
    END
    @ANS = ""

then at TCL type LIST VOC BY F1 F2 F3 F4 S_BREAK.

This works well and is a good application of the increased functionality INIT.VIEW provides.

(Volume 3, Issue 5, Page 11)