01-17-2012 05:21 PM
I create a dummy page-break varible in my dataset to avoild sas rtf cut my same observation group in diffifferent pages. I also have subgroup variable that displayed as row in the report using "compute before subgroup". As a result, after a page break, the subgroup showed on the top of the next page, which is not I want. is there a way to not let it be showed? ----look the below table --- I do not want the red line showed up in the new page ( delete that row).
here is my code:
ods nodate nonumber;
ods rtf file="c:\user\myfile.doc" ;
title j=l " table 6....";
proc report data=four spanrows nowd box;
column pgn subgroup analyte res trt1 trt2 tr3 cont;
define pgn/order noprint;
define subgroup/group order=data noprint;
break after pgn/page;
compute before subgroup/
line subgroup $120.'
ods rtf close;