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] Newbie Question: Virtual Field for count

Read-Only Read-Only Topic
Go
Search
Notify
Tools
[CLOSED] Newbie Question: Virtual Field for count
 Login/Join
 
Gold member
posted
In a report I have two columns that mean the same thing just labeled differently. Example:

Col 1: TRANSFER
Col 2: Transfer In

How would I make virtual field to keep a sum of when one of these col are encountered? I am using this in an across on my report. Thanks for the help.

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


In Focus since 2012
WebFOCUS 8.0.07
Windows, All Outputs
 
Posts: 59 | Registered: November 15, 2012Report This Post
Gold member
posted Hide Post
I am not sure if i understand your question correctly; from what i understand, you can try this code
 
DEFINE FILE .......
Col/I1 = IF Transfer_Field EQ 'TRANSFER' THEN 1 ELSE IF TRansfer_Field EQ 'Transfer In' In THEN 1 ELSE 0


So on that way if you keep tack of how many time those label were uses.

To find out the total number of time those fields were use you can simply use
 TABLE FILE....
PRINT....
ON TABLE COLUMN-TOTAL AS 'Sum of transfer Field use' 


WebFOCUS 7.7. Windows Server 2008. All Outputs.

WEBFOCUS 7.6.11. Windows Server 2003. All Outputs.
 
Posts: 60 | Registered: July 10, 2012Report This Post
Gold member
posted Hide Post
Thank you I will have to try this.


In Focus since 2012
WebFOCUS 8.0.07
Windows, All Outputs
 
Posts: 59 | Registered: November 15, 2012Report 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] Newbie Question: Virtual Field for count

Copyright © 1996-2020 Information Builders