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.
Simple request, works fine returning HTML and PDF, but loses styling on SEATSPER when returning EXL2K (NOTE - styling on CNT.CAR doesn't work in any form...why's that?). I've searched the postings, but cannot find this answer. It's the SEATSPER that I really care about... the others were just interesting notes.
DEFINE FILE CAR
CARTOT/I9 WITH BODYTYPE=1;
END
TABLE FILE CAR
SUM CNT.BODYTYPE
CARTOT
COMPUTE SEATSPER/D6.1=SEATS/CARTOT;
BY COUNTRY
ACROSS BODYTYPE
ON TABLE PCHOLD FORMAT EXL2K
ON TABLE SET HTMLCSS ON
ON TABLE SET STYLE *
TYPE=DATA,ACROSSCOLUMN=CNT.BODYTYPE,COLOR=RED,WHEN=CNT.BODYTYPE GT 1,$
TYPE=DATA,ACROSSCOLUMN=CARTOT,COLOR=RED,WHEN=CARTOT GT 1,$
TYPE=DATA,ACROSSCOLUMN=SEATSPER,COLOR=RED,WHEN=SEATSPER GT 3,$
ENDSTYLE
END
Is it a dumb error, or is Excel messing with me?
... sorry for the lousy looking first post.. and I updated my profile as well.
Thanks ScottThis message has been edited. Last edited by: zoogy55,
Prod: WebFOCUS 7.1.6 Servlet - Self Service on Solaris 8 - Apache Tomcat 5.0.28 DevStudio 7.1.6 on MS Windows XP SP2 Output: HTML, Excel 2000 and PDF
It seems to me that you should not use the acrosscolumn name but its number:
DEFINE FILE CAR
CARTOT/I9 WITH BODYTYPE=1;
END
TABLE FILE CAR
SUM CNT.BODYTYPE
CARTOT
COMPUTE SEATSPER/D6.1=SEATS/CARTOT;
BY COUNTRY
ACROSS BODYTYPE
ON TABLE PCHOLD FORMAT EXL2K
ON TABLE SET HTMLCSS ON
ON TABLE SET STYLE *
TYPE=DATA,ACROSSCOLUMN=N1,COLOR=RED,WHEN=CNT.BODYTYPE GT 1,$
TYPE=DATA,ACROSSCOLUMN=N2,COLOR=RED,WHEN=CARTOT GT 1,$
TYPE=DATA,ACROSSCOLUMN=N3,COLOR=RED,WHEN=SEATSPER GT 3,$
ENDSTYLE
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, 2006
Please notice that even using its number for CNT.BODYTYPE the style still does not work. You have to either compute a new field like SEATSPER or create one in the define as you did with CARTOT.