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.
Hi, I'm trying to make column totals from a subfoot be displayed in certain coulmns when the report outputs in EXL2K format. All the text in my subfoot gets places in the first cell of the subfoot row. Code example:- -* File SUBFOOT.fex TABLE FILE CAR HEADING "SALES BY COUNTRY" SUM SALES BY COUNTRY BY CAR BY MODEL WHERE (COUNTRY EQ 'ENGLAND') OR (COUNTRY EQ 'ITALY') OR (COUNTRY EQ 'FRANCE');
ON COUNTRY SUBFOOT "Total Sales: <+0><ST.SALES"
ON TABLE PCHOLD FORMAT EXL2K ON TABLE SET STYLE * TYPE=REPORT, FONT=ARIAL, TITLETEXT=SALES REPORT, $ TYPE=DATA, COLUMN=SALES, COLOR=RED, BACKCOLOR=YELLOW, WHEN=SALES GT 10000,$ TYPE=DATA, COLUMN=MODEL, BACKCOLOR=YELLOW, WHEN=SALES GT 10000,$ TYPE=HEADING, FONT=ARIAL BLACK, COLOR=RED, BACKCOLOR=SILVER, SIZE=16, $ TYPE=TITLE, FONT=ARIAL, SIZE=12, $ TYPE=SUBFOOT,LINE=1,OBJECT=FIELD,ITEM=2,POSITION=SALES,$ ENDSTYLE END
How do I get Sales to be displayed in the excel spreadsheet under the Sales column?
My guess is that ST.SALES is not the second item in the Subfoot. Since "Total Sales" is text and ST.SALES is a field, you don't require the <+0> separator - it makes ST.SALES the third item in the line.
Hint: when playing around with stylesheets, I always add COLOR=RED to my stylesheet line - to see if the correct element is being styled.
Thats just a 'feature' of excel, i think. when we use 'right click export to excel', the entire heading of the report is loaded into the first cell. the heading or the subfooting is a single cell in html, albeit with colspan = n ; so when a table exports to an excel format, excel sees a single cell, and bingo, slaps it all in to a single cell. I think this is a billgates, not a focus issue.
Posts: 3811 | Location: Manhattan | Registered: October 28, 2003