LISTSERV at the University of Georgia
Menubar Imagemap
Home Browse Manage Request Manuals Register
Previous messageNext messagePrevious in topicNext in topicPrevious by same authorNext by same authorPrevious page (December 1996, week 3)Back to main SAS-L pageJoin or leave SAS-L (or change settings)ReplyPost a new messageSearchProportional fontNon-proportional font
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
Comments: To: Richard Paterson <rpaterso@qedi.quintiles.com>
In-Reply-To:  Richard Paterson <rpaterso@qedi.quintiles.com> "PROC REPORT -
              Compute After - Help Needed" (Dec 18,  6:41pm)
Content-Type: text/plain; charset=us-ascii

Richard,

You might be able to try something like this (untested code):

COMPUTE AFTER PAGE; /* PAGE is your proposed variable and NOT a key word */ TEXT=''; IF PAGE=8 THEN TEXT='footnote text here'; LINE TEXT; ENDCOMP;

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.

HTH,

Tom

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"; > ENDCOMP; > > 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. > > Thanks > > Richard Paterson >-- End of excerpt from Richard Paterson

-- Thomas Kalfas System Developer Abbott Laboratories

E-mail: kalfast@pprd.abbott.com

Phone: (847) 938-8101 Fax: (847) 935-1320


Back to: Top of message | Previous page | Main SAS-L page