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.

New TIBCO Community Coming Soon
In early summer, TIBCO plans to launch a new community—with a new user experience, enhanced search, and expanded capabilities for member engagement with answers and discussions! In advance of that, the current myibi community will be retired on April 30. We will continue to provide updates here on both the retirement of myibi and the new community launch.

What You Need to Know about Our New Community
We value the wealth of knowledge and engagement shared by community members and hope the new community will continue cultivating networking, knowledge sharing, and discussion.

During the transition period, from April 20th until the new community is launched this summer, myibi users should access the TIBCO WebFOCUS page to engage.


Focal Point    Focal Point Forums  Hop To Forum Categories  WebFOCUS/FOCUS Forum on Focal Point     [CLOSED] XL Report Bytoc option

Read-Only Read-Only Topic
Go
Search
Notify
Tools
[CLOSED] XL Report Bytoc option
 Login/Join
 
Member
posted
HI All,

can anybody help me on bytoc funcationality in WF. Actually mine is a compound report and i have 3 sections in my second xl-tab.but it is populating only one data set remaining dataset is not printing on my second tab.

pls guide me to resolve this issue
sample code:
TABLE FILE ABC2
PRINT
COL1
COL2
ON TABLE PCHOLD FORMAT EXL2K OPEN NOBREAK
END
TABLE FILE ABC2
PRINT
COL1
COL2
ON TABLE PCHOLD FORMAT EXL2K
END

-* SECOND TAB
TABLE FILE ABC2
PRINT
COL1
COL2
BY TOTAL COMPUTE TITLESHEET/A90 = 'Weekly Detail '; NOPRINT
ON TABLE PCHOLD FORMAT EXL2K BYTOC
END
-* SECOND SECTION IN SECOND TAB
-* THIS SECTION IS NOT PRINTING IN MY REPORT
TABLE FILE ABC2
PRINT
COL1
COL2
ON TABLE PCHOLD FORMAT EXL2K CLOSE
END

Thanks in Advance...

Renji

This message has been edited. Last edited by: Kerry,


W.F 769
Unix,Windows
Excel, HTML, PDF,AHTML
 
Posts: 4 | Registered: July 09, 2010Report This Post
Master
posted Hide Post
Hi Renji,

I've run into the same problem.

I think this is what happens:
When WF get a BYTOC it will do a 'SET COMPOUND CLOSE' before the last sheet.
So you can not make an extra sheet after that.

It will work if the LAST sheet is using BYTOC.

Other question is:
Why use a BYTOC if you have only 1 different value in your BY field?


_____________________
WF: 8.0.0.9 > going 8.2.0.5
 
Posts: 668 | Location: Veghel, The Netherlands | Registered: February 16, 2010Report This Post
Guru
posted Hide Post
 
BY TOTAL COMPUTE TITLESHEET/A90 = 'Weekly Detail '; NOPRINT
ON TABLE PCHOLD FORMAT EXL2K BYTOC


Hi Renji, This part doesn't seem to be logical. If for a Unique Single data Compute field, what is the purpose of BY or even BYTOC ?


Thanks,

Ramkumar.
WebFOCUS/Tableau
Webfocus 8 / 7.7.02
Unix, Windows
HTML/PDF/EXCEL/AHTML/XML/HTML5
 
Posts: 394 | Location: Chennai | Registered: December 02, 2009Report This Post
Platinum Member
posted Hide Post
Hi Ramkumar,

Try running:
SET COMPOUND = OPEN
TABLE FILE CAR
COUNT MODEL
BY COUNTRY
ON TABLE PCHOLD FORMAT EXL2K
END
TABLE FILE CAR
PRINT MODEL
BY COUNTRY
ON TABLE SET COMPOUND CLOSE
ON TABLE PCHOLD FORMAT EXL2K BYTOC
END

in the above you will get a summary tab plus a tab for each country
and then compare to:
SET COMPOUND = OPEN
TABLE FILE CAR
COUNT MODEL
BY COUNTRY
ON TABLE PCHOLD FORMAT EXL2K BYTOC
END
TABLE FILE CAR
PRINT MODEL
BY COUNTRY
ON TABLE SET COMPOUND CLOSE
ON TABLE PCHOLD FORMAT EXL2K
END

in this one you will only get the tabs from the first part of the request.
Hence the need to put BYTOC on the second PCHOLD statement.

In your case I agree it's not logical but it will work.
nb. You must have at least one BY in each sub-request.


_______________________
*** WebFOCUS 8.1.05M ***
 
Posts: 196 | Location: London, UK | Registered: December 06, 2005Report 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] XL Report Bytoc option

Copyright © 1996-2020 Information Builders