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     [BUG - WORKAROUND] Across Styling for EXL2K works in v5.3.2 - does not work in v7.6.5

Read-Only Read-Only Topic
Go
Search
Notify
Tools
[BUG - WORKAROUND] Across Styling for EXL2K works in v5.3.2 - does not work in v7.6.5
 Login/Join
 
Expert
posted
The following example works in v5.3.2 EXL2K - the Across Column SALES is coloured green. In v7.6.5 it is the default color black, and the data is not formatted as D9.2M. For PDF and HTML it works as expected. For EXL2K the wrong field is displayed - SALES is displayed without the reformat. Of course, I know of a few workarounds, but I'd rather not have to modify a pile of programs.

-SET &OUTFMT = 'EXL2K';
-*SET &OUTFMT = 'PDF';
-*SET &OUTFMT = 'HTML';

TABLE FILE CAR
SUM
SALES/D9.2M AS ''
ACROSS COUNTRY AS 'SALES'
BY SEATS
ON TABLE SET PAGE NOLEAD
ON TABLE SET STYLE *
TYPE=REPORT, FONT='ARIAL', SIZE=8, COLOR=BLUE, $
TYPE=REPORT, ACROSSCOLUMN=SALES, COLOR=GREEN, $
TYPE=TITLE, STYLE=BOLD, $
ENDSTYLE
ON TABLE PCHOLD FORMAT &OUTFMT
END

This message has been edited. Last edited by: Francis Mariani,


Francis


Give me code, or give me retirement. In FOCUS since 1991

Production: WF 7.7.05M, Dev Studio, BID, MRE, WebSphere, DB2 / Test: WF 8.1.05M, App Studio, BI Portal, Report Caster, jQuery, HighCharts, Apache Tomcat, MS SQL Server
 
Posts: 10577 | Location: Toronto, Ontario, Canada | Registered: April 27, 2005Report This Post
Expert
posted Hide Post
quote:
TYPE=REPORT, ACROSSCOLUMN=SALES, COLOR=GREEN, $
it looks like this is the culprit - remove this line and the column is formatted correctly.


Francis


Give me code, or give me retirement. In FOCUS since 1991

Production: WF 7.7.05M, Dev Studio, BID, MRE, WebSphere, DB2 / Test: WF 8.1.05M, App Studio, BI Portal, Report Caster, jQuery, HighCharts, Apache Tomcat, MS SQL Server
 
Posts: 10577 | Location: Toronto, Ontario, Canada | Registered: April 27, 2005Report This Post
Expert
posted Hide Post
ew yuck
thats a bug alright.
francesco, btw, why does conditional styling not work on ACROSSs?

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
Guru
posted Hide Post
What about:

quote:
TYPE=DATA, COLUMN=SALES, COLOR=GREEN, $


?

this was probably one of the workarounds you had in mind but this is what i would have done first as i wouldn't consider the sales column an across column


Developer Studio 7.64
Win XP
Output: mostly HTML, also Excel and PDF

"Never attribute to malice that which can be adequately explained by stupidity." - Heinlein's Razor
 
Posts: 285 | Location: UK | Registered: October 26, 2007Report This Post
Expert
posted Hide Post
SALES is definitely an Across column - there is more than one SALES column displayed in the row.

TYPE=DATA, COLUMN=SALES, only affects the first SALES column. TYPE=DATA, COLUMN=SALES(*) doesn't work at all.

Susannah, "why does conditional styling not work on ACROSSs?" - Very good question.


Francis


Give me code, or give me retirement. In FOCUS since 1991

Production: WF 7.7.05M, Dev Studio, BID, MRE, WebSphere, DB2 / Test: WF 8.1.05M, App Studio, BI Portal, Report Caster, jQuery, HighCharts, Apache Tomcat, MS SQL Server
 
Posts: 10577 | Location: Toronto, Ontario, Canada | Registered: April 27, 2005Report This Post
Expert
posted Hide Post
Susannah,

Here's an example of a conditional ACROSS:

TABLE FILE CAR
PRINT DEALER_COST
ACROSS COUNTRY
BY CAR
ON TABLE SET STYLE *
TYPE=DATA, ACROSSCOLUMN=DEALER_COST, COLOR=RED, WHEN=DEALER_COST GT 9000, $
ENDSTYLE
ON TABLE PCHOLD FORMAT EXL2K
END


Seems to work.


Francis


Give me code, or give me retirement. In FOCUS since 1991

Production: WF 7.7.05M, Dev Studio, BID, MRE, WebSphere, DB2 / Test: WF 8.1.05M, App Studio, BI Portal, Report Caster, jQuery, HighCharts, Apache Tomcat, MS SQL Server
 
Posts: 10577 | Location: Toronto, Ontario, Canada | Registered: April 27, 2005Report This Post
Expert
posted Hide Post
ah...
i was being fuzzy...
what i would want the condition on is the across column value
WHEN=COUNTRY EQ 'ENGLAND',$




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
susannah, you're asking for too much Smiler Frowner


Francis


Give me code, or give me retirement. In FOCUS since 1991

Production: WF 7.7.05M, Dev Studio, BID, MRE, WebSphere, DB2 / Test: WF 8.1.05M, App Studio, BI Portal, Report Caster, jQuery, HighCharts, Apache Tomcat, MS SQL Server
 
Posts: 10577 | Location: Toronto, Ontario, Canada | Registered: April 27, 2005Report This Post
Expert
posted Hide Post
TABLE FILE CAR
PRINT 
DEALER_COST
COUNTRY NOPRINT
ACROSS COUNTRY
BY CAR
ON TABLE SET STYLE *
TYPE=DATA, ACROSSCOLUMN=DEALER_COST, COLOR=RED, WHEN=COUNTRY EQ 'ITALY', $
ENDSTYLE
-*ON TABLE PCHOLD FORMAT EXL2K
END

This changes the report output a tiny bit, because more than one column is specified in the PRINT (DEALER_COST and COUNTRY).


Francis


Give me code, or give me retirement. In FOCUS since 1991

Production: WF 7.7.05M, Dev Studio, BID, MRE, WebSphere, DB2 / Test: WF 8.1.05M, App Studio, BI Portal, Report Caster, jQuery, HighCharts, Apache Tomcat, MS SQL Server
 
Posts: 10577 | Location: Toronto, Ontario, Canada | Registered: April 27, 2005Report This Post
Expert
posted Hide Post
Hi Francis,

I passed this one internally and was suggested that the issue can be reproduced in 768. It is better to contact Information Builders' Customer Support Services and open a case for this problem so that it can be submitted to appropriate department to address it.

To open a case, you may either call at 1-800-736-6130, or access online at InfoResponse.

Hope this helps. Smiler

Cheers,

Kerry


Kerry Zhan
Focal Point Moderator
Information Builders, Inc.
 
Posts: 1948 | Location: New York | Registered: November 16, 2004Report This Post
Guru
posted Hide Post
quote:
SET &OUTFMT = 'EXL2K';
-*SET &OUTFMT = 'PDF';
-*SET &OUTFMT = 'HTML';

TABLE FILE CAR
SUM
SALES/D9.2M AS ''
ACROSS COUNTRY AS 'SALES'
BY SEATS
ON TABLE SET PAGE NOLEAD
ON TABLE SET STYLE *
TYPE=REPORT, FONT='ARIAL', SIZE=8, COLOR=BLUE, $
TYPE=REPORT, ACROSSCOLUMN=SALES, COLOR=GREEN, $
TYPE=TITLE, STYLE=BOLD, $
ENDSTYLE
ON TABLE PCHOLD FORMAT &OUTFMT
END


You are right..

what about:
 -SET &OUTFMT = 'EXL2K';
-*SET &OUTFMT = 'PDF';
-*SET &OUTFMT = 'HTML';

TABLE FILE CAR
SUM
SALES/D9.2M AS ''
ACROSS COUNTRY AS 'SALES'
BY SEATS
ON TABLE SET PAGE NOLEAD
ON TABLE SET STYLE *
TYPE=REPORT, FONT='ARIAL', SIZE=8, COLOR=BLUE, $
TYPE= ACROSSTITLE, COLOR=GREEN, $
TYPE=REPORT, ACROSSCOLUMN=N1, COLOR=GREEN, $
TYPE=TITLE, STYLE=BOLD,COLOR=GREEN, $
ENDSTYLE
ON TABLE PCHOLD FORMAT &OUTFMT
END 


its still not quite there but the ACCROSSCOLUMN=N1 should give you a starting point?


Developer Studio 7.64
Win XP
Output: mostly HTML, also Excel and PDF

"Never attribute to malice that which can be adequately explained by stupidity." - Heinlein's Razor
 
Posts: 285 | Location: UK | Registered: October 26, 2007Report This Post
Expert
posted Hide Post
I have steadfastly refused to use column notation syntax in my style-sheet (as evidenced by this posting yesterday, How to you identify columns example N1 goes with what column? it's not column one) and now it saves the day!

Thank you very much nubi, for being less narrow-minded than me - you are absolutely right, column notation fixed the problem.


Francis


Give me code, or give me retirement. In FOCUS since 1991

Production: WF 7.7.05M, Dev Studio, BID, MRE, WebSphere, DB2 / Test: WF 8.1.05M, App Studio, BI Portal, Report Caster, jQuery, HighCharts, Apache Tomcat, MS SQL Server
 
Posts: 10577 | Location: Toronto, Ontario, Canada | Registered: April 27, 2005Report This Post
Expert
posted Hide Post
klugy w/a, francesco
but hyper clever...as usual.
i'll give it a go. merci




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
Guru
posted Hide Post
quote:
Originally posted by Francis Mariani:
I have steadfastly refused to use column notation syntax in my style-sheet (as evidenced by this posting yesterday, How to you identify columns example N1 goes with what column? it's not column one) and now it saves the day!

Thank you very much nubi, for being less narrow-minded than me - you are absolutely right, column notation fixed the problem.


to be honest its not obvious and i spent simply ages trying to work this out, it also doesn't appeal to my preference for precise code so i had also discounted the idea....


ive just tried to explain why but deleted the paragraph as i was confusing the issue Big Grin- ill try again tomorrow as i must get off.


Developer Studio 7.64
Win XP
Output: mostly HTML, also Excel and PDF

"Never attribute to malice that which can be adequately explained by stupidity." - Heinlein's Razor
 
Posts: 285 | Location: UK | Registered: October 26, 2007Report This Post
Expert
posted Hide Post
From the case I opened regarding this problem:
quote:
This issue has been addressed and tested successfully in WebFOCUS release 769 which is not yet available. We won't be able to obtain a hotfix for release 765.


Francis


Give me code, or give me retirement. In FOCUS since 1991

Production: WF 7.7.05M, Dev Studio, BID, MRE, WebSphere, DB2 / Test: WF 8.1.05M, App Studio, BI Portal, Report Caster, jQuery, HighCharts, Apache Tomcat, MS SQL Server
 
Posts: 10577 | Location: Toronto, Ontario, Canada | Registered: April 27, 2005Report 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     [BUG - WORKAROUND] Across Styling for EXL2K works in v5.3.2 - does not work in v7.6.5

Copyright © 1996-2020 Information Builders