Date: Thu, 2 Dec 2004 17:46:48 -0500
Reply-To: Ya Huang <ya.huang@AMYLIN.COM>
Sender: "SAS(r) Discussion" <SAS-L@LISTSERV.UGA.EDU>
From: Ya Huang <ya.huang@AMYLIN.COM>
Subject: Re: REPORT ODS PDF header
Hi Kevin,
Try to move the header from the define statement to column statement.
------
ods pdf file="c:\temp\junk.pdf";
proc report data=sashelp.class nowd split='~';
column
("Name" name)
("Sex" sex)
("Age" age)
("Spaned Header~for Weight and Height" weight height);
define name /'' display;
define sex /'';
define age /'';
define weight/'';
define height/'';
run;
ods pdf close;
-------
I don't understand what you last line mean:
Further, a block is incomplete before the header and does
not span the remaining columns following the header.
Kind regards,
Ya Huang
On Thu, 2 Dec 2004 15:54:31 -0500, Kevin Roland Viel <kviel@EMORY.EDU>
wrote:
>I am attempting to use the REPORT procedure to create a PDF document.
>All is well except that I attempted to have a header span several, but not
>all of the columns:
>
>column v1 v2 ( "span only v3-v5" v3 v4 v5 ) v6 v7 ;
>or
>column ( v1 v2 ( "span only v3-v5" v3 v4 v5 ) v6 v7 ) ;
>
>The header does span the column, but it is raised above the remaining
>column titles. Further, a block is incomplete before the header and does
>not span the remaining columns following the header.
>
>Enough info? :) I appreciate any help.
>
>Regards,
>
>Kevin
>
>Kevin Viel
>Department of Epidemiology
>Rollins School of Public Health
>Emory University
>Atlanta, GA 30322
|