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     how to id in style sheet ACROSS column RPCT.fieldname

Read-Only Read-Only Topic
Go
Search
Notify
Tools
how to id in style sheet ACROSS column RPCT.fieldname
 Login/Join
 
Expert
posted
TABLE FILE CAR
SUM SALES RPCT.SALES
BY CAR ACROSS COUNTRY
Does anyone know how to identify the RPCT field in a style sheet?
without C notation and multiple statements?
molto grazie.




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
Expert
posted Hide Post
Hi Susannah,

Go and have a lay down, you must be working too hard! I thought you would have known this one -

TABLE FILE CAR
SUM SALES RPCT.SALES
BY CAR
ACROSS COUNTRY
ON TABLE SET HTMLCSS ON
ON TABLE SET STYLE *
  TYPE=DATA, ACROSSCOLUMN=RPCT.SALES, COLOR=RED, $
ENDSTYLE
END


T



In FOCUS
since 1986
WebFOCUS Server 8.2.01M, thru 8.2.07 on Windows Svr 2008 R2  
WebFOCUS App Studio 8.2.06 standalone on Windows 10 
 
Posts: 5694 | Location: United Kingdom | Registered: April 08, 2004Report This Post
Expert
posted Hide Post
ROFL
bless your ever lovin' heart.

T, help me with another one,wouldyou?
TYPE=ACROSSVALUE,ACROSS=fieldname,WHEN=fieldname EQ whatever
..
The WHEN= just doesn't work.
I tried setting it up as a DEFMACRO
no cigar.

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
Platinum Member
posted Hide Post
Hi susannah,

Shouldn't it be

TYPE=DATA,ACROSSCOLUMN=CAR,BACKCOLOR='RED', WHEN=CAR EQ 'ALFA ROMEO',$

*just a humble attempt*

P.


D: WF 7.6.2 P. : WF 7.6.2 on W2003
------------------------------------------------------------------
I see myself as an intelligent, sensitive human, with the soul of a clown which forces me to blow it at the most important moments.

-Jim Morrison-

 
Posts: 206 | Registered: February 25, 2005Report This Post
Expert
posted Hide Post
Susannah,

In a wierd way I think Pete has highlighted when the WHEN might function, albeit, incorrectly (the WHEN not Pete Wink).

If you take my above example and add your requirement, say for CAR EQ 'PEUGEOT' you will see that the styling is not applied to COUNTRY. However, if you change the WHEN to compare for 'ALFA ROMEO', the styling is applied. I think this is because the style is applied to a heading value and because these are at the top, they have the style that is relevant to the first data row?

TABLE FILE CAR
SUM SALES RPCT.SALES
BY CAR
ACROSS COUNTRY
ON TABLE SET HTMLCSS ON
ON TABLE SET STYLE *
  TYPE=DATA, ACROSSCOLUMN=RPCT.SALES, COLOR=RED, $
  TYPE=ACROSSVALUE, ACROSS=COUNTRY, COLOR=BLUE, WHEN=CAR EQ 'PEUGEOT', $
ENDSTYLE
END

The styling is not applied

TABLE FILE CAR
SUM SALES RPCT.SALES
BY CAR
ACROSS COUNTRY
ON TABLE SET HTMLCSS ON
ON TABLE SET STYLE *
  TYPE=DATA, ACROSSCOLUMN=RPCT.SALES, COLOR=RED, $
  TYPE=ACROSSVALUE, ACROSS=COUNTRY, COLOR=BLUE, WHEN=CAR EQ 'ALFA ROMEO', $
ENDSTYLE
END

The styling is applied.

I can see a sort of logic to this but I'm stuck at seeing a real use for it? Unless you page break on the field in the WHEN clause (e.g. BY CAR PAGE-BREAK).

Of course, take away the WHEN and it works fine.

T



In FOCUS
since 1986
WebFOCUS Server 8.2.01M, thru 8.2.07 on Windows Svr 2008 R2  
WebFOCUS App Studio 8.2.06 standalone on Windows 10 
 
Posts: 5694 | Location: United Kingdom | Registered: April 08, 2004Report This Post
Platinum Member
posted Hide Post
Way over my belgian head on a wednesday morning , T. Confused


D: WF 7.6.2 P. : WF 7.6.2 on W2003
------------------------------------------------------------------
I see myself as an intelligent, sensitive human, with the soul of a clown which forces me to blow it at the most important moments.

-Jim Morrison-

 
Posts: 206 | Registered: February 25, 2005Report This Post
Expert
posted Hide Post
Pete, Must be all that lovely Belgian chocolate for breakfast! Wink



In FOCUS
since 1986
WebFOCUS Server 8.2.01M, thru 8.2.07 on Windows Svr 2008 R2  
WebFOCUS App Studio 8.2.06 standalone on Windows 10 
 
Posts: 5694 | Location: United Kingdom | Registered: April 08, 2004Report This Post
Expert
posted Hide Post
i'm trying to put a drilldown on an across value when that value equals something.
i'm getting no cigar.
i think its a bug, but i'm only in 52 and my 71 dev server just bit the dust.




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
Expert
posted Hide Post
The across value seems to relate the column title and not the value. Is that what you want or do you want the tabular data?



In FOCUS
since 1986
WebFOCUS Server 8.2.01M, thru 8.2.07 on Windows Svr 2008 R2  
WebFOCUS App Studio 8.2.06 standalone on Windows 10 
 
Posts: 5694 | Location: United Kingdom | Registered: April 08, 2004Report This Post
Expert
posted Hide Post
Value, T.
If country is 'france' i want the cell to be hot, if country is anything else, then cold.
type=acrossvalue, across=country,when=country eq 'france', focexec= yada.
Conditional dd's like this work fine on regular table data cells, so i'm thinking they should work on acrossvals, as well.




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
Expert
posted Hide Post
Ahhh, the light comes on. Roll Eyes

Doesn't appear to work in 7.1.3 either.



In FOCUS
since 1986
WebFOCUS Server 8.2.01M, thru 8.2.07 on Windows Svr 2008 R2  
WebFOCUS App Studio 8.2.06 standalone on Windows 10 
 
Posts: 5694 | Location: United Kingdom | Registered: April 08, 2004Report This Post
Expert
posted Hide Post
bless you for checking.
i'll NFR it.




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
Expert
posted Hide Post
Just found in the manual (Creating reports vsn 7) page 24-7 that you can not specify a horizontal sort field (ACROSS) within the WHEN. Frowner

There had to be a reason



In FOCUS
since 1986
WebFOCUS Server 8.2.01M, thru 8.2.07 on Windows Svr 2008 R2  
WebFOCUS App Studio 8.2.06 standalone on Windows 10 
 
Posts: 5694 | Location: United Kingdom | Registered: April 08, 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     how to id in style sheet ACROSS column RPCT.fieldname

Copyright © 1996-2020 Information Builders