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     Output to multiple excel sheets.

Read-Only Read-Only Topic
Go
Search
Notify
Tools
Output to multiple excel sheets.
 Login/Join
 
Platinum Member
posted
Hello All,

If I have a procedure containing multiple tables, is it possible to output each table into a seperate tab or sheet in excel?

The same question is asked in Dec2003 and I just want to know if this feature is available with any latest versions(version5.3.3)?
 
Posts: 143 | Location: Rochester,NY. | Registered: August 20, 2004Report This Post
<JG>
posted
the following is an example. The stylesheet code names the sheets.
If you have more the 2 the the EXL2K CLOSE goes on the last one.
TABLE FILE CAR
PRINT CAR MODEL SEATS
BY COUNTRY
ON TABLE PCHOLD FORMAT EXL2K OPEN
ON TABLE SET STYLE *
type=report, titletext='REPORT 1', $
ENDSTYLE
END
-RUN
TABLE FILE CAR
PRINT CAR MODEL SEATS
BY COUNTRY
BY MODEL
ON TABLE PCHOLD FORMAT EXL2K CLOSE
ON TABLE SET STYLE *
type=report, titletext='REPORT 2', $
ENDSTYLE
END
-RUN
 
Report This Post
Silver Member
posted Hide Post
Hi Joy,

I think following code is helpful for you,But for that you have to use Office XP or higher version, it's not support in Office 2000.


SET PAGE-NUM=OFF
TABLE FILE CAR
HEADING
"Sales Report"
" "
PRINT RCOST
BY COUNTRY
ON TABLE SET STYLE *
type=report, titletext='Sales', $
type=heading, size=18, $
ENDSTYLE
ON TABLE PCHOLD FORMAT EXL2K OPEN
END


TABLE FILE CENTFIN
HEADING
"Financial Report"
" "
SUM
VALUE
BY
ITEM
BY
YEAR
ON TABLE SET STYLE *
type=report, titletext='Financial', $
type=heading, size=18, $
ENDSTYLE
ON TABLE PCHOLD FORMAT EXL2K OPEN
END


TABLE FILE EMPLOYEE
PRINT
LAST_NAME
CURR_SAL
HIRE_DATE
BY
DEPARTMENT
ON TABLE SET STYLE *
type=report, titletext='Employee', $
type=heading, size=18, $
ENDSTYLE
ON TABLE PCHOLD FORMAT EXL2K CLOSE
END


Thanks,
Goldy
 
Posts: 30 | Location: India | Registered: February 23, 2005Report This Post
Platinum Member
posted Hide Post
Thanks a lot JG and Goldy.

It worked great with Excel 2003.

I have one more question, can we do the same with PIVOT table?

ie, Having multiple pivots in different sheets?
OPEN and CLOSE in EXL2K PIVOT?
Any ideas?
 
Posts: 143 | Location: Rochester,NY. | Registered: August 20, 2004Report This Post
<JG>
posted
Yes it works just the same except the syntax is

ON TABLE PCHOLD FORMAT EXL2K OPEN PIVOT
and
ON TABLE PCHOLD FORMAT EXL2K CLOSE PIVOT

The only restriction on pivot tables is that you can not use the NOBREAK option

It's all documented in the Creating Reports With WebFOCUS Language manual
 
Report 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     Output to multiple excel sheets.

Copyright © 1996-2020 Information Builders