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.
All, I know there are a couple of different excel output options available in webfocus but is there one that eliminates any styling when putting the report into standalone excel so all thats left is the data? Currently if you export our report it brings the styling and drilldowns over to excel and gets kind of annoying, it also locks the columns.
I know we can create a second fex just for the excel output but thats not a good idea since your now maintaining two files. I guess you could also branch around the style sheet if the format is EXL2k but thats also a hassle.
Any ideas?This message has been edited. Last edited by: Tim P.,
WebFOCUS App Studio 8.2.02 Windows 7, All Outputs
Posts: 141 | Location: Mclean, VA | Registered: December 04, 2012
This sounds as if you do have a choice built into your code for type of output. If that's the case, you could use DM to decide to either include or exclude the styling code, based on the selected output format. Something like:
TABLE FILE xxx
---
-IF &OUTPUT EQ 'EXCEL' THEN GOTO :NO_STYLE;
-ON TABLE SET STYLE *
---
ENDSTYLE
-:NO_STYLE
GamP
- Using AS 8.2.01 on Windows 10 - IE11.
in Focus since 1988
Posts: 1961 | Location: Netherlands | Registered: September 25, 2007
Is there no excel output option to load just the data from a report into excel?
Do you mean just loading the data while ignoring any StyleSheet associated to the TABLE FILE request? I don't think such an option exists. You have to resort to skipping the whole style section by using Dialogue Manager's -IF ... GOTO statement as you're already doing.
George's suggestion is a good way to make it happen as EXCEL / EXL97 are non-styled output formats but keep in mind that you may be facing some additional restrictions such as the number of rows WebFOCUS will be allowed to place in the file (much lower in Excel 97 than in Excel 2000).
We also use an output variable to branch to different styling depending on the user's request. If they want a spreadsheet with all cells populated (for pivot tables, etc) they select our format 'CSV' which creates the report using ON TABLE PCHOLD FORMAT COMT and no styling.