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     [closed] Compound Excel report

Read-Only Read-Only Topic
Go
Search
Notify
Tools
[closed] Compound Excel report
 Login/Join
 
Platinum Member
posted
Hi, has anyone been successful in creating a compound excel report where you have two reports on the first tab, then only one report on the second tab. Or I can go vice versa, i.e., first tab one report, second tab having two reports. I have been playing around with this 'ALL' different ways and have not been successful as well as in my search for this type of thing to begin with. I am currently in 7.7.03. Thank you in advance.

This message has been edited. Last edited by: Kathy P,


Kathy Phillips
Web FOCUS 8.2.05.14, 8.1.05, 8.08, 8.0.7, 8.0.5,8.0.2m, 7.6.10,7.7.03
Windows
 
Posts: 118 | Location: Livonia, MI | Registered: March 27, 2009Report This Post
Expert
posted Hide Post
What sort of COMPOUND report is it, the old style or the new one ?

If its the old style, then did you try SET COMPOUND = NOBREAK


Waz...

Prod:WebFOCUS 7.6.10/8.1.04Upgrade:WebFOCUS 8.2.07OS:LinuxOutputs:HTML, PDF, Excel, PPT
In Focus since 1984
Pity the lost knowledge of an old programmer!

 
Posts: 6347 | Location: 33°49'23.0"S, 151°11'41.0"E | Registered: October 31, 2006Report This Post
Platinum Member
posted Hide Post
Yes, that too. I have tried all the manual coding combinations:
I have not been able to do both. I can do nobreak and get both reports on the same tab but then I cannot get the second tab to work. WF doesn't like that. I tried the first tab of one report, then issued the nobreak on the second fex and WF did not like that either. Seems to be one way or the other but not combined....


Kathy Phillips
Web FOCUS 8.2.05.14, 8.1.05, 8.08, 8.0.7, 8.0.5,8.0.2m, 7.6.10,7.7.03
Windows
 
Posts: 118 | Location: Livonia, MI | Registered: March 27, 2009Report This Post
Platinum Member
posted Hide Post
I have coded around by adding a sort field to get my two reports on one tab and then my detail data dump on the second tab. Sighhh. But it would be nice if it could be done. Thank you!


Kathy Phillips
Web FOCUS 8.2.05.14, 8.1.05, 8.08, 8.0.7, 8.0.5,8.0.2m, 7.6.10,7.7.03
Windows
 
Posts: 118 | Location: Livonia, MI | Registered: March 27, 2009Report This Post
Expert
posted Hide Post
How about this code.

SET COMPOUND = OPEN NOBREAK

TABLE FILE CAR
HEADING
" Report 1"
PRINT COUNTRY
ON TABLE PCHOLD FORMAT EXL2K
END

TABLE FILE CAR
HEADING
" "
" Report 2"
PRINT CAR
END

SET COMPOUND = CLOSE

TABLE FILE CAR
HEADING
" "
" Report 3"
PRINT MODEL
END


Waz...

Prod:WebFOCUS 7.6.10/8.1.04Upgrade:WebFOCUS 8.2.07OS:LinuxOutputs:HTML, PDF, Excel, PPT
In Focus since 1984
Pity the lost knowledge of an old programmer!

 
Posts: 6347 | Location: 33°49'23.0"S, 151°11'41.0"E | Registered: October 31, 2006Report This Post
Platinum Member
posted Hide Post
Thanks Waz! That worked. I always kept the compound close at the end. I didn't try moving it up as I thought I would lose the compound report.I was doing it on the same line as on table pchold, the open, nobreak and close. Interesting. Thanks again and have a great weekend!


Kathy Phillips
Web FOCUS 8.2.05.14, 8.1.05, 8.08, 8.0.7, 8.0.5,8.0.2m, 7.6.10,7.7.03
Windows
 
Posts: 118 | Location: Livonia, MI | Registered: March 27, 2009Report This Post
Platinum Member
posted Hide Post
Interesting. This works with the car file but not with my fex. I have a lot going on in my fex, but the compound syntax is very straight forward. I commented out my tab title to see if that made a difference which it did not. I am also running Zero-Footprint WF Dev Studio. I don't have time today to play with it. I will come back to this next week. I only get the first tab and not the second tab. So close.....


Kathy Phillips
Web FOCUS 8.2.05.14, 8.1.05, 8.08, 8.0.7, 8.0.5,8.0.2m, 7.6.10,7.7.03
Windows
 
Posts: 118 | Location: Livonia, MI | Registered: March 27, 2009Report This Post
Expert
posted Hide Post
quote:
Zero-Footprint WF Dev Studio

Hmmmm???


Francis


Give me code, or give me retirement. In FOCUS since 1991

Production: WF 7.7.05M, Dev Studio, BID, MRE, WebSphere, DB2 / Test: WF 8.1.05M, App Studio, BI Portal, Report Caster, jQuery, HighCharts, Apache Tomcat, MS SQL Server
 
Posts: 10577 | Location: Toronto, Ontario, Canada | Registered: April 27, 2005Report This Post
Platinum Member
posted Hide Post
No client side of software. All on the network. I have had other issues with it too.


Kathy Phillips
Web FOCUS 8.2.05.14, 8.1.05, 8.08, 8.0.7, 8.0.5,8.0.2m, 7.6.10,7.7.03
Windows
 
Posts: 118 | Location: Livonia, MI | Registered: March 27, 2009Report This Post
Gold member
posted Hide Post
I don't know if you have tried this but besides doing the set you can have it within the PCHOLD lines as well. Although, the tool does not like the NOBREAK keyword if you open it in the GUI.

TABLE FILE CAR
BY COUNTRY
FOOTING
""
ON TABLE PCHOLD FORMAT EXL2K OPEN NOBREAK
END

TABLE FILE CAR
BY COUNTRY
BY MODEL
ON TABLE PCHOLD FORMAT EXL2K
END

TABLE FILE CAR
BY CAR
BY MODEL
ON TABLE PCHOLD FORMAT EXL2K CLOSE
END


WF: 8201, OS: Windows, Output: HTML, PDF, Excel
 
Posts: 78 | Registered: November 08, 2010Report This Post
Platinum Member
posted Hide Post
Crymsyn, I need the third report on a separate tab. This is the code I am using along with set compound on and set compound off. Seems to be the only way I get sort of what I want. I added a dummy sort field and did a page break to get my second report on the first tab.


Kathy Phillips
Web FOCUS 8.2.05.14, 8.1.05, 8.08, 8.0.7, 8.0.5,8.0.2m, 7.6.10,7.7.03
Windows
 
Posts: 118 | Location: Livonia, MI | Registered: March 27, 2009Report 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     [closed] Compound Excel report

Copyright © 1996-2020 Information Builders