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.



Read-Only Read-Only Topic
Go
Search
Notify
Tools
Column Name/Title ?
 Login/Join
 
Gold member
posted
Is there a way to get the current column title/name during drilling ?

TYPE=TITLE,
     FOCEXEC=app/proc1.fex(param1=CurrentColumnName),
$


I do not want to repeat the styling for every column. Because I have a lot
of baggage that would get repeated.


WebFOCUS 5.3.3 MRE - Solaris - Sun Web Server - Weblogic
 
Posts: 85 | Registered: December 20, 2005Report This Post
Expert
posted Hide Post
i see where you're going...You'ld like one style sheet statement referencing all titles,
nice idea,
but I don't see how you can avoid having a specific drilldown for each column.
i think the closest you can get is to use the generic column reference Cn.




In Focus since 1979///7706m/5 ;wintel 2008/64;OAM security; Oracle db, ///MRE/BID
 
Posts: 3811 | Location: Manhattan | Registered: October 28, 2003Report This Post
Gold member
posted Hide Post
I got it working by using a nasty include. Your idea of 'Cn' sounds interesting.
Can you pass me a pointer to the relevant docs if you have it handy ?
  
TYPE=TITLE,
-SET &pColName='CAR';
     COLUMN=&pColName,
-INCLUDE app/carincl.fex
$
TYPE=TITLE,
-SET &pColName='MODEL';
     COLUMN=&pColName,
-INCLUDE app/carincl.fex
$

The carincl.fex:
     FOCEXEC=app/grbp.fex(        \
             pParam0='&pColName'  \
             pParam1='&pVal1'     \
             pParam2='&pVal2'     \
             pParam3='&pVal3'     \
             pParam4='&pVal4'),


WebFOCUS 5.3.3 MRE - Solaris - Sun Web Server - Weblogic
 
Posts: 85 | Registered: December 20, 2005Report This Post
Expert
posted Hide Post
oh, referencing columns can be by absolute field name or by relative field position reference in the report.
B1, B2..Bn is the relative BY field
C1, C2...Cn is the relative object field (gets tricky because computes can add to the relative C numbering,
and N1, N2,... Nn is another way of referencing having to do with counting NOPRINT fields...
The details are all in your manual..pretty standard stuff. Handy for style sheets and for aggregating and computing in the same pass..
SUM UNITS DOLLARS
AND COMPUTE AVPRICE/D12M=C2/C1;
BY SOMEFIELD
SUM UNITS DOLLARS
AND COMPUTE AVPRICE/D12M=C5/C4;
BY SOMEFIELD
BY SOMEOTHERFIELD
btw..your solution is swell.

This message has been edited. Last edited by: susannah,




In Focus since 1979///7706m/5 ;wintel 2008/64;OAM security; Oracle db, ///MRE/BID
 
Posts: 3811 | Location: Manhattan | Registered: October 28, 2003Report This Post
Gold member
posted Hide Post
I see. I remember I used C* or N* or B* at one time. But, anyway, as you said, I could not get "refer" to the value of the column during drilling.


WebFOCUS 5.3.3 MRE - Solaris - Sun Web Server - Weblogic
 
Posts: 85 | Registered: December 20, 2005Report This Post
  Powered by Social Strata  

Read-Only Read-Only Topic


Copyright © 1996-2020 Information Builders