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] Force column break in Excel2K report from SUBFOOT

Read-Only Read-Only Topic
Go
Search
Notify
Tools
[CLOSED] Force column break in Excel2K report from SUBFOOT
 Login/Join
 
Member
posted
Is there a way in SUBFOOT code to force a field calculation to be in a separate column when the report runs in Excel. Essentially - I want to code in a tab.

Here's a sample from the SUBFOOT:
"Total Participants:
I have several summary lines in the SUBFOOT, which all end in ST. calcs on various fields.

Right now it comes out on the report as:

Total Participants: 50
Total Days in program: 1050

All on one line, so the subtotals can't be used for further calculations without manually cutting and pasting them into distinct cells.
I want it to be:

Total Participants: 50
Total Days in program: 1050

etc.

Thanks

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


WF 7.7.03
Win 2003 & AIX
PDF, html, Excel, xml
 
Posts: 6 | Registered: October 27, 2010Report This Post
Member
posted Hide Post
Sorry, my code got truncated...new to posting:

 "Total Participants: <ST.STAT_CNT" 


WF 7.7.03
Win 2003 & AIX
PDF, html, Excel, xml
 
Posts: 6 | Registered: October 27, 2010Report This Post
Platinum Member
posted Hide Post
Robin,
I'm not sure what you are asking as the output appears to be the same as what you want it to be.


WebFOCUS 7.6.9

Reporting client Windows 2003 Service pack 2 using IIS and TomCat 5.5
Reporting Server OS/400 V5R4M0
Outputs: HTML, Excel, PDF, CSV, and Flat Files
 
Posts: 130 | Location: Columbus, Ohio | Registered: February 25, 2009Report This Post
Member
posted Hide Post
I'm outputting to Excel and as the code stands now it's giving me a single cell in Excel with my text label and my calculated result.

I want to have the text label in Column A and the calculated result in Column B in the Excel report.


WF 7.7.03
Win 2003 & AIX
PDF, html, Excel, xml
 
Posts: 6 | Registered: October 27, 2010Report This Post
Member
posted Hide Post
Better example:

What I want...

COLUMN A COLUMN B
Total Participants 50

What I get now...
COLUMN A
Total Participants 50


WF 7.7.03
Win 2003 & AIX
PDF, html, Excel, xml
 
Posts: 6 | Registered: October 27, 2010Report This Post
Expert
posted Hide Post
TYPE=SUBFOOT(or WHATEVER), HEADALIGN=BODY, STYLE=BOLD,$

Search on HEADALIGN...


Tom Flynn
WebFOCUS 8.1.05 - PROD/QA
DB2 - AS400 - Mainframe
 
Posts: 1972 | Location: Centennial, CO | Registered: January 31, 2006Report This Post
Platinum Member
posted Hide Post
Below is some sample code that places subfoot description in colA and the value in colB:
  TABLE FILE CAR
SUM
     'CAR.BODY.BODYTYPE'
     'CAR.SPECS.MPG'
     'CAR.BODY.SEATS'
     'CAR.BODY.SALES/P11.2C'
     COMPUTE TOT_SALES/P11.2CM = TOT.SALES; NOPRINT
     COMPUTE TOT_SALE2/P11.2CM = TOT.SALES; NOPRINT
     COMPUTE TOT_SALE3/P11.2CM = TOT.SALES; NOPRINT
BY 'CAR.ORIGIN.COUNTRY'
BY 'CAR.CARREC.MODEL'
-*WHERE COUNTRY = 'ENGLAND';
ON CAR.ORIGIN.COUNTRY SUBFOOT
-*remove the "" below to remove the bank line in the Subfoot
""
-*remove all of the spotmarkers <+0> below to get the colA and colb look and feel
" <+0> <+0> <+0> SUBFOOT1 LINE2 COUNTRY <+0> <ST.CAR.BODY.SALES"
ON TABLE NOTOTAL
ON TABLE PCHOLD FORMAT EXL2K
ON TABLE SET STYLE *
     UNITS=IN,
     SQUEEZE=ON,
     ORIENTATION=PORTRAIT,
$
TYPE=REPORT,
     GRID=OFF,
     FONT='TIMES NEW ROMAN',
     SIZE=10,
$
TYPE=SUBFOOT,
     STYLE=BOLD,
     JUSTIFY=RIGHT,
     HEADALIGN=BODY,
$
ENDSTYLE
END


WebFOCUS 7.6.9

Reporting client Windows 2003 Service pack 2 using IIS and TomCat 5.5
Reporting Server OS/400 V5R4M0
Outputs: HTML, Excel, PDF, CSV, and Flat Files
 
Posts: 130 | Location: Columbus, Ohio | Registered: February 25, 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] Force column break in Excel2K report from SUBFOOT

Copyright © 1996-2020 Information Builders