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     compound excel output

Read-Only Read-Only Topic
Go
Search
Notify
Tools
compound excel output
 Login/Join
 
Gold member
posted
I have a few questions regarding a compound excel report. I'm on 762 and I know some can be solved using templates, but I would like a xls file output.

1. Can worksheets be hidden using a compound excel report?

2. Is there a way to freeze cells?

3. Does Dev.Studio not support compound excel reports? If I open in GUI it removes the OPEN portion.

TIA,
-Travis


------------------------------------------
DevStudio 8.2.03
WFS 8.2.03
 
Posts: 86 | Location: Atlanta | Registered: May 10, 2007Report This Post
Virtuoso
posted Hide Post
Trob,

As far as I know:
1. No, I don't think we can hide a worksheet from wihtin our code, but I'm not 100 % sure.
2. Again, as far as I know, we can't freeze cells.
3. You can certainly do this by issuing the SET COMPOUND=OPEN statement before every single request and SET COMPOUND=CLOSE jusrt before the last. This is fully supported in DS.


GamP

- Using AS 8.2.01 on Windows 10 - IE11.
in Focus since 1988
 
Posts: 1961 | Location: Netherlands | Registered: September 25, 2007Report This Post
Expert
posted Hide Post
Trob,

From 7.something, a new compound reporting syntax was introduced so I would expect the GUI to remove bits and pieces of code (one of the reasons that I do not like the GUIFrowner).

You can, of course, still code the COMPOUND OPEN etc. (as per GamP above) when in the text editor.

For information, I resort to using the older syntax when I require portrait and landscape components combined (PDF obviously) as the new syntax does not seem able to cope that well and I do not have the time to mess with it.

T



In FOCUS
since 1986
WebFOCUS Server 8.2.01M, thru 8.2.07 on Windows Svr 2008 R2  
WebFOCUS App Studio 8.2.06 standalone on Windows 10 
 
Posts: 5694 | Location: United Kingdom | Registered: April 08, 2004Report This Post
Master
posted Hide Post
trob,

If you are wanting to freeze cells and hide sheets, you need to create a template. The way I did this was to create my WebFocus report and hold it format EXL2K without any headings. Then create the sheets that you want to display including any formulas and/or frozen cells. Reference the fields in your worksheet to fill the data save the entire thing as format .mht and store it in your eda path. You then change your fex to filedef the .mht file and when you run it save the output from your fex over the worksheet(s). In the final step use ON TABLE PCHOLD FORMAT EXL2K. We covered the rest of the process a few days ago. You may need to hide the worksheets manually, but as long as you didn't overlay your display sheets with your worksheet your frozen cells will be frozen once you save the sheet.


Pat
WF 7.6.8, AIX, AS400, NT
AS400 FOCUS, AIX FOCUS,
Oracle, DB2, JDE, Lotus Notes
 
Posts: 755 | Location: TX | Registered: September 25, 2007Report This Post
Expert
posted Hide Post
One other thing to remember with FORMAT EXL2K is that it doesn't save it as a true .xls file, in that it is XML. The trouble with this is that it is not efficient space wise as much as the internal Excel file format, so I tend to have a macro that force saves it as .xls. This can save as much as fifty percent of the original file size, although a normal saving is around thirty percent.

Most of the web archives with macros that I have done for my current Client are primarily to format the sheets in readiness for printing so the users don't have to do it (I'm too kind to them Wink) and so, once the formating has been achieved on the initial opening of the spreadsheet, that code is no longer required. So I also have a piece of code in the before_save sub that removes all of the macro code so that the user isn't prompted for enabling of macros each time.

T



In FOCUS
since 1986
WebFOCUS Server 8.2.01M, thru 8.2.07 on Windows Svr 2008 R2  
WebFOCUS App Studio 8.2.06 standalone on Windows 10 
 
Posts: 5694 | Location: United Kingdom | Registered: April 08, 2004Report 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     compound excel output

Copyright © 1996-2020 Information Builders