The SAS Output Delivery System and reporting techniques

How to merge the two adjacent cells using ODS?

Reply
N/A
Posts: 0

How to merge the two adjacent cells using ODS?

I'm using ODS PDF to generate the report.Now I only want to merge the cell with another one whose value is empty.
The DEFINE COLUMN Statement of TEMPLATE Procedure can merge two columns,but how can I merge two designated cells?
SAS Super FREQ
Posts: 8,745

Re: How to merge the two adjacent cells using ODS?

Hi:
I'm not sure what you want to do. When you define a table template or when you use PROC REPORT or PROC TABULATE, you can create column headers that are essentially "merged" or that span multiple header columns.

As for the data cells themselves, ODS generally expects that every report row will have the same number of data cells. So, for example, when you use MERGE=ON with a custom table template, you will notice that EVERY cell on a row is merged with the cell to its right. That's because every ODS wants every row to have the same number of data cells in the columns.

It sounds to me like you want to only have certain cells on selected rows merged?? I don't believe this is possible.

cynthia
Contributor
Posts: 30

Re: How to merge the two adjacent cells using ODS?

Hi Jackywu

Some one asked this question before see this link.

http://support.sas.com/forums/message.jspa?messageID=8740#8740


Regards
Duong
Ask a Question
Discussion stats
  • 2 replies
  • 191 views
  • 0 likes
  • 3 in conversation