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.
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, 2003
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, 2004
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, 2003
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.
In a wierd way I think Pete has highlighted when the WHEN might function, albeit, incorrectly (the WHEN not Pete ).
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, 2004
Way over my belgian head on a wednesday morning , T.
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.
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, 2003
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, 2003