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     [Solved] Unstyled excel output

Read-Only Read-Only Topic
Go
Search
Notify
Tools
[Solved] Unstyled excel output
 Login/Join
 
Platinum Member
posted
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, 2012Report This Post
Virtuoso
posted Hide Post
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, 2007Report This Post
Platinum Member
posted Hide Post
Yea we have used that option before but I was hoping there was another way without having to branch around the entire stylesheet.

We use a variable called &WFFMT to determine the output, html being default and they can chose excel or pdf if they want.

Is there no excel output option to load just the data from a report into excel?


WebFOCUS App Studio 8.2.02
Windows 7, All Outputs
 
Posts: 141 | Location: Mclean, VA | Registered: December 04, 2012Report This Post
Master
posted Hide Post
PCHOLD FORMAT EXCEL or
PCHOLD FORMAT EXL97


WebFOCUS 7.7.05 Windows, Linux, DB2, IBM Lotus Notes, Firebird, Lotus Symphony/OpenOffice. Outputs PDF, Excel 2007 (for OpenOffice integration), WP
 
Posts: 674 | Location: Guelph, Ontario, Canada ... In Focus since 1985 | Registered: September 28, 2010Report This Post
Virtuoso
posted Hide Post
quote:
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).



Prod/Dev: WF Server 8008/Win 2008 - WF Client 8008/Win 2008 - Dev. Studio: 8008/Windows 7 - DBMS: Oracle 11g Rel 2
Test: Dev. Studio 8008 /Windows 7 (Local) Output:HTML, EXL2K.
 
Posts: 1533 | Registered: August 12, 2005Report This Post
Member
posted Hide Post
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.


FOCUS 7.68, OpenVMS
WebFOCUS 7.7.03
 
Posts: 8 | Registered: February 15, 2010Report 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     [Solved] Unstyled excel output

Copyright © 1996-2020 Information Builders