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] 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