Focal Point Banner


As of December 1, 2020, Focal Point is retired and repurposed as a reference repository. We value the wealth of knowledge that's been shared here over the years. You'll continue to have access to this treasure trove of knowledge, for search purposes only.

Join the TIBCO Community
TIBCO Community is a collaborative space for users to share knowledge and support one another in making the best use of TIBCO products and services. There are several TIBCO WebFOCUS resources in the community.

  • From the Home page, select Predict: WebFOCUS to view articles, questions, and trending articles.
  • Select Products from the top navigation bar, scroll, and then select the TIBCO WebFOCUS product page to view product overview, articles, and discussions.
  • Request access to the private WebFOCUS User Group (login required) to network with fellow members.

Former myibi community members should have received an email on 8/3/22 to activate their user accounts to join the community. Check your Spam folder for the email. Please get in touch with us at community@tibco.com for further assistance. Reference the community FAQ to learn more about the community.


Focal Point    Focal Point Forums  Hop To Forum Categories  WebFOCUS/FOCUS Forum on Focal Point     Multiple rows for ACROSSTITLE

Read-Only Read-Only Topic
Go
Search
Notify
Tools
Multiple rows for ACROSSTITLE
 Login/Join
 
Guru
posted
Is it possible to have the ACROSSTITLE to span multiple rows? I want the name of the Day on one row and the actual date on line 2. I've managed to do it for HTML output with the following code:

D_DAY_NAME2/A23 = IF '&SEL_OUTPUT' EQ 'HTML' THEN D_DAY_NAME | '<br>' | D_DATE ELSE D_DAY_NAME;

(D_DAY_NAME contains the Day Name and D_DATE the actual date).

My question is if it is possible to do it for PDF and EXCEL?

We're on WF 5.2.7 on IBM iSeries.

Tia
 
Posts: 319 | Location: Stockholm, Sweden | Registered: February 04, 2004Report This Post
Platinum Member
posted Hide Post
Tia,

One way you can accomplish this is through using multiple ACROSS fields. I just mocked this one up.

TABLE FILE <tablename>
SUM COMPUTE DOL_AMT/D20.2 = 999.99 ;
COMPUTE ID_DATE/I8YYMD = RUN_DATE; NOPRINT
COMPUTE D_DAY_NAME/A12 = DOWKL(ID_DATE,D_DAY_NAME);
BY D_DATE
BY ENTITY_TYPE_CODE
WHERE RECORDLIMIT EQ 10
ON TABLE HOLD AS TEST
END

TABLE FILE TEST
SUM DOL_AMT AS ''
BY ENTITY_TYPE AS ''
ACROSS D_DATE NOPRINT
ACROSS D_DAY_NAME AS 'Date'
ACROSS D_DATE AS ''
ON TABLE SET PAGE-NUM OFF
END

By using this method, you will see two lines for the acrosstitles.

I use this method regularly and it does work for both PDF and EXL2K.

I hope this helps.
K
 
Posts: 177 | Location: Calgary, Alberta, Canada | Registered: April 25, 2005Report This Post
Guru
posted Hide Post
Thanks,

why that didn't come into my mind. I must have left at least part of my brain at home...
 
Posts: 319 | Location: Stockholm, Sweden | Registered: February 04, 2004Report This Post
  Powered by Social Strata  

Read-Only Read-Only Topic

Focal Point    Focal Point Forums  Hop To Forum Categories  WebFOCUS/FOCUS Forum on Focal Point     Multiple rows for ACROSSTITLE

Copyright © 1996-2020 Information Builders