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 (April 2004, week 3)Back to main SAS-L pageJoin or leave SAS-L (or change settings)ReplyPost a new messageSearchProportional fontNon-proportional font
Date:         Wed, 21 Apr 2004 21:35:23 -0400
Reply-To:     Don Stanley <don_stanley@PARADISE.NET.NZ>
Sender:       "SAS(r) Discussion" <SAS-L@LISTSERV.UGA.EDU>
From:         Don Stanley <don_stanley@PARADISE.NET.NZ>
Subject:      Re: proc template and ods
Comments: To: lpogodajr292185@COMCAST.NET

PROC REPORT will start a new page for each patient if the patient id field is a by group field. Have you tried using a BY in the data step to see if that also works there?

Don

On Wed, 21 Apr 2004 20:51:51 -0400, Lou <lpogodajr292185@COMCAST.NET> wrote:

>I have a bunch data entered from CRF's, and I'm trying to output that data >by patient ID. The amount of data for any one patient is variable, >depending on the CRF's submitted, and traditional listings are awkward and >inconvenient to use when you're trying to get a picture of the overall >condition of a particular patient. So essentially I need to write a series >of pages for each patient, showing question and response, but showing only >the questions that were responded to. > >Easy enough to do with a data step. More trouble but still doable using >PROC REPORT. Either way, the output isn't very "pretty", so when I was >going through chapter 5 in the ODS manual (the chapter on PROC TEMPLATE) and >came to the second example, it looked like just the ticket - here we have a >table (in html) produced in a data step. I want rtf output, but that's easy >enough to change, and if not I can live with html. > >However the example produces one page of output. I need to produce a >separate table for each patient. A table may run for several pages, but no >page can have more than one patient on it, and all tables need to be in one >file. That's easy enough to do by hand in something like Microsoft Word, >but I haven't been able to figure out how to finish one table and start >another in the same file, or for that matter force a new page (analogous to >PUT _PAGE_ in a data step) while remaining in the same table. So far, SAS >technical support hasn't been able to help, but neither have they said it's >impossible. > >Can anyone help? > >Thanks > >Lou


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