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     WHEN I USE BYTOC - TITLETEXT CANNOT BE CUSTOMIZED

Read-Only Read-Only Topic
Go
Search
Notify
Tools
WHEN I USE BYTOC - TITLETEXT CANNOT BE CUSTOMIZED
 Login/Join
 
Platinum Member
posted
hi friends ,

Thanks a lot for your help and suggestions. I owe a lot to all of you.

I am having a report which is having around 1 million records ( dunno how are they gonna c all the records ) Big Grin...

I used the BYTOC function as mentioned in the technical documentation. But i figured that it is displaying the Worksheet number in the titletext and not the customized titletext which i gave.

Is there any work-around or any other code-tweaking that can be done??
Because here the higher grouping is done by the worksheet virtual field. Below is my code.
After you run it , you can see the worksheet value 0 in the titletext.
Thanks again .

  

TABLE FILE CAR
PRINT
COUNTRY
CAR
MODEL
BODYTYPE
SEATS
DEALER_COST
RETAIL_COST
BY COUNTRY
ON TABLE PCHOLD FORMAT EXL2K OPEN
ON TABLE SET STYLE *
type=report, titletext='Summary Report', $
ENDSTYLE
END
TABLE FILE CAR
SUM
DEALER_COST
RETAIL_COST
COMPUTE COUNTER/I7=COUNTER + 1; NOPRINT
COMPUTE WORKSHEET/I3=COUNTER/65000; NOPRINT
BY TOTAL WORKSHEET NOPRINT
BY COUNTRY
BY CAR
BY MODEL
BY BODYTYPE
BY SEATS
ON TABLE PCHOLD FORMAT EXL2K BYTOC CLOSE
ON TABLE SET STYLE *
TYPE=REPORT, TITLETEXT = 'MAIN REPORT',
$
END
  


WebFOCUS 714
Windows XP
Output: HTML,PDF,Excel
 
Posts: 189 | Registered: January 30, 2008Report This Post
Virtuoso
posted Hide Post
Arvind,

Because you are using BYTOC, WF is using the values of WORKSHEET as titletext.

So if you want somthing else, you have to calculate it:
  
COMPUTE WORKSHEET/I3=COUNTER/65000; NOPRINT
COMPUTE TITLESHEET/A15='MAIN REPORT ' | EDIT(WORKSHEET); 
BY TOTAL TITLESHEET NOPRINT

delete BY TOTAL WORKSHEET


Daniel
In Focus since 1982
wf 8.202M/Win10/IIS/SSA - WrapApp Front End for WF

 
Posts: 1980 | Location: Tel Aviv, Israel | Registered: March 23, 2006Report This Post
Platinum Member
posted Hide Post
thanks a lot daniel ,

Simple solution yet it evades me all the time Confused


WebFOCUS 714
Windows XP
Output: HTML,PDF,Excel
 
Posts: 189 | Registered: January 30, 2008Report 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     WHEN I USE BYTOC - TITLETEXT CANNOT BE CUSTOMIZED

Copyright © 1996-2020 Information Builders