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     [CLOSED] Adding Dynamic Titles to ACROSS FIELDS

Read-Only Read-Only Topic
Go
Search
Notify
Tools
[CLOSED] Adding Dynamic Titles to ACROSS FIELDS
 Login/Join
 
<B_B>
posted
Hi
My code is
TABLE FILE CAR
SUM
SEATS AS 'DYNAMIC TITLE AS COUNTRY'
ACROSS COUNTRY NOPRINT
BY CAR
END

I need to print the dynamic country where it says 'DYNAMIC TITLE AS COUNTRY'
How can i achieve this so that i get 'DYNAMIC TITLE AS COUNTRY' in the same row as CAR Title?

Please suggest.

This message has been edited. Last edited by: Kerry,
 
Report This Post
Virtuoso
posted Hide Post
-* File BB1.fex
TABLE FILE CAR
SUM
SEATS/I6 AS 'DYNAMIC TITLE AS COUNTRY'
ACROSS COUNTRY NOPRINT
BY CAR
END


Daniel
In Focus since 1982
wf 8.202M/Win10/IIS/SSA - WrapApp Front End for WF

 
Posts: 1980 | Location: Tel Aviv, Israel | Registered: March 23, 2006Report This Post
Virtuoso
posted Hide Post
Explanation:
If you do an across with one SUM or PRINT field, then the column heading for that field will be omitted, since you are always sure what the values represents (it's always sales, or profit or ...).
By recomputing the field (SEATS/I6) a second field is introduced forcing the column heading to appear for both fields. But, since the original database field is recomputed, it automatically becomes NOPRINTed.


GamP

- Using AS 8.2.01 on Windows 10 - IE11.
in Focus since 1988
 
Posts: 1961 | Location: Netherlands | Registered: September 25, 2007Report This Post
Gold member
posted Hide Post
Try this and see if its good for you:
TABLE FILE CAR
SUM
SEATS AS 'DYNAMIC TITLE AS COUNTRY'
ACROSS COUNTRY NOPRINT
BY CAR AS ' '
HEADING
"<+0> CAR <+0> DYNAMIC TITLE AS COUNTRY"

ON TABLE PCHOLD FORMAT HTML
ON TABLE SET HTMLCSS ON
ON TABLE SET STYLE *
TYPE=HEADING, HEADALIGN=BODY, $
TYPE=HEADING, OBJECT=TEXT, ITEM=1, POSITION=N1, $
TYPE=HEADING, OBJECT=TEXT, ITEM=2, POSITION=N3,COLSPAN=5,$
ENDSTYLE
END


WebFOCUS 8103, Windows, App Studio
 
Posts: 80 | Location: NYC | Registered: November 13, 2008Report This Post
Gold member
posted Hide Post
B_B,
Please try this.
SET ASNAMES=ON
TABLE FILE CAR
SUM
SEATS AS ''
BY CAR
ACROSS COUNTRY
ON TABLE HOLD AS ACROSSH FORMAT ALPHA
END
TABLE FILE ACROSSH
PRINT *
END


Laure


Prod: WebFOCUS 7.7.03 - MRE, BID, - WindowsXP - Oracle 9i, SQLServer, DevStudio 7.7.3 - Apache Tomcat , Output: HTML, Excel 2013 and PDF
 
Posts: 78 | Location: Florida | Registered: December 07, 2006Report 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     [CLOSED] Adding Dynamic Titles to ACROSS FIELDS

Copyright © 1996-2020 Information Builders