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] Showing Subtotal for Amount field

Read-Only Read-Only Topic
Go
Search
Notify
Tools
[CLOSED] Showing Subtotal for Amount field
 Login/Join
 
Platinum Member
posted
Hi All:

I am converting old Legacy report written on VM platform to Webfocus 8.1.05
it is sorting by Location and then st.amount on subfoot heading. see the code below

 
ON LOCATION SUBFOOT
"</1 <60 DEBIT/CREDIT BALANCE <84> <ST.AMOUNT> <105 ***</1"
 

When I run it for the amount on subfoot heading it shows 0.

it shows the subtotal amount if I add Amount in the BY fields, but it changes the sort order..

if anyone has any idea how to show subtotal on the amount field without having it in the BY fields to get around it, would appreciate it.
Thanks

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


Prod/Dev/Test: WF 8.1.5 on (Windows Server 2012 R2 )
SandBox: WebFocus Server 8.1.5 on Windows Server 2008 R2
WebFOCUS App Studio 8.1.5 and Developer Studio 8.1.5 on Windows 7
 
Posts: 134 | Location: USA | Registered: August 21, 2008Report This Post
Virtuoso
posted Hide Post
I always thought ON fieldname always required a corresponding BY fieldname. Is that not the case in the VM version of the FOCEXEC?


WebFOCUS 8206, Unix, Windows
 
Posts: 1853 | Location: New York City | Registered: December 30, 2015Report This Post
Platinum Member
posted Hide Post
Yes AMOUNT is in the print statement and the BY statements have location then ON LOCATION SUBFOOT


Prod/Dev/Test: WF 8.1.5 on (Windows Server 2012 R2 )
SandBox: WebFocus Server 8.1.5 on Windows Server 2008 R2
WebFOCUS App Studio 8.1.5 and Developer Studio 8.1.5 on Windows 7
 
Posts: 134 | Location: USA | Registered: August 21, 2008Report This Post
Guru
posted Hide Post
This works fine in 8.2, could you try this code:
   
TABLE FILE CAR
PRINT MODEL
BY CAR
ON CAR SUBFOOT
"</1 <60 DEBIT/CREDIT BALANCE <84> <ST.SALES> <105 ***</1"
END


Test: WF 8.2
Prod: WF 8.2
DB: Progress, REST, IBM UniVerse/UniData, SQLServer, MySQL, PostgreSQL, Oracle, Greenplum, Athena.
 
Posts: 454 | Location: Europe | Registered: February 05, 2007Report This Post
Expert
posted Hide Post
Or,
TABLE FILE CAR
PRINT MODEL
BY CAR SUBFOOT
"</1 <60 DEBIT/CREDIT BALANCE <84> <ST.SALES> <105 ***</1"
END




   In FOCUS Since 1983 ~ from FOCUS to WebFOCUS.
   Current: WebFOCUS Administrator at FIS Worldpay | 8204, 8206
 
Posts: 3132 | Location: Tennessee, Nashville area | Registered: February 23, 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] Showing Subtotal for Amount field

Copyright © 1996-2020 Information Builders