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     [SOLVED] Set Sub-Total for One Column Only

Read-Only Read-Only Topic
Go
Search
Notify
Tools
[SOLVED] Set Sub-Total for One Column Only
 Login/Join
 
Platinum Member
posted
AppStudio 8105m

How do I code this so that only DEALER_COST Subtotals? I know I could change the format of RETAIL_COST in a define to Alpha, but is there a function that will do it?

 TABLE FILE CAR
PRINT  RETAIL_COST DEALER_COST   
 
ON TABLE SUB-TOTAL

END 

This message has been edited. Last edited by: FP Mod Chuck,


WebFOCUS 8105m
Windows, All Outputs
 
Posts: 156 | Registered: August 23, 2010Report This Post
Expert
posted Hide Post
ON TABLE SUB-TOTAL DEALER_COST AS 'TOTAL'

Without a BY statement, the line will fold...


Tom Flynn
WebFOCUS 8.1.05 - PROD/QA
DB2 - AS400 - Mainframe
 
Posts: 1972 | Location: Centennial, CO | Registered: January 31, 2006Report This Post
Expert
posted Hide Post
Can you add TYPE=GRANDTOTAL, COLSPAN=2,$ to stop it from wrapping (Maybe GRANDTOTAL isn't the correct ID for that line).

How about HEADALIGN?
 
Posts: 3132 | Location: Tennessee, Nashville area | Registered: February 23, 2005Report This Post
Platinum Member
posted Hide Post
quote:
ON TABLE SUB-TOTAL DEALER_COST AS 'TOTAL'

Without a BY statement, the line will fold...


we can leave AS name blank ,
  TABLE FILE CAR
PRINT  RETAIL_COST DEALER_COST   
ON TABLE SUB-TOTAL DEALER_COST AS '' 
ON TABLE SET STYLE *
ENDSTYLE
END 


OR can Display total in Sub-foot,

 TABLE FILE CAR
PRINT 
     CAR.BODY.RETAIL_COST
     CAR.BODY.DEALER_COST
ON TABLE SUBFOOT WITHIN
"Total<CAR.BODY.DEALER_COST"
ON TABLE SET PAGE-NUM NOLEAD
ON TABLE NOTOTAL
ON TABLE PCHOLD FORMAT HTML
ON TABLE SET HTMLEMBEDIMG ON
ON TABLE SET STYLE *
$
TYPE=TABFOOTING,
     HEADALIGN=BODY,
$
TYPE=TABFOOTING,
     LINE=1,
     OBJECT=TEXT,
     ITEM=1,
     COLSPAN=1,
     JUSTIFY=LEFT,
$
TYPE=TABFOOTING,
     LINE=1,
     OBJECT=FIELD,
     ITEM=1,
     COLSPAN=1,
     JUSTIFY=RIGHT,
$
ENDSTYLE
END

 

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


WF Production :- WF:8.0.0.4, 8.1.05 App-studio/Developer Studio(8.1.x) ,
8.2.0.1M , 8.2.0.2 (App-Studio8.2.x),
InfoAssist/+, InfoDiscovery
Output format:-AHTML, PDF, Excel, HTML
Platform:-Windows 7, 8,10
 
Posts: 186 | Location: Infobuild India | Registered: August 28, 2015Report This Post
Platinum Member
posted Hide Post
I got it, thanks. sorry for the delay You guys rock!


WebFOCUS 8105m
Windows, All Outputs
 
Posts: 156 | Registered: August 23, 2010Report 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     [SOLVED] Set Sub-Total for One Column Only

Copyright © 1996-2020 Information Builders