Date: Wed, 18 Dec 1996 15:15:17 -0600
Reply-To: Thomas Kalfas <kalfast@PPRD.ABBOTT.COM>
Sender: "SAS(r) Discussion" <SAS-L@UGA.CC.UGA.EDU>
From: Thomas Kalfas <kalfast@PPRD.ABBOTT.COM>
Subject: Re: PROC REPORT - Compute After - Help Needed
In-Reply-To: Richard Paterson <firstname.lastname@example.org> "PROC REPORT -
Compute After - Help Needed" (Dec 18, 6:41pm)
Content-Type: text/plain; charset=us-ascii
You might be able to try something like this (untested code):
COMPUTE AFTER PAGE; /* PAGE is your proposed variable and NOT a key word */
IF PAGE=8 THEN TEXT='footnote text here';
The LINE statement cannot be nested within an IF block so you are forced to
conditionally reset another text variable from a null state to contain your
footnote text, i.e. the footnote will always print, but the footnote will be
a blank line for all pages except for page number 8.
As for why you would be getting the footnote after each patient, I wouldn't
expect the problem to be with your BREAK AFTER PATIENT statement. I would
however check the values of PAGE to ensure that it is being set correctly.
On Dec 18, 6:41pm, Richard Paterson wrote:
> Proc Report again !! This time I need to specify which page a footnote
> will appear. I know the answer lies in COMPUTE AFTER etc. I have one
> BREAK AFTER statement which skips after each patient and this is needed.
> If I add a variable, say PAGE, to the dataset how can I place a footnote
> on a specfied value of PAGE ?
> COMPUTE AFTER PAGE;
> LINE "footnote text here";
> This seems to put the footnote text after each patient, which has
> something to do with my BREAK AFTER PATIENT/SKIP.
> Any ideas much appreciated.
> Richard Paterson
>-- End of excerpt from Richard Paterson
Phone: (847) 938-8101
Fax: (847) 935-1320