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     Replace Negative values

Read-Only Read-Only Topic
Go
Search
Notify
Tools
Replace Negative values
 Login/Join
 
<Umar Farook S>
posted
Hi
I need to replace the negative values in my output inside paranthesis.
the subtotal or grand total should also be in paranthesis.
ex:negative values should be enclosed by (value)
Amount
-189
-234
333
above values should come like
(189)
(234)
333
 
Report This Post
Virtuoso
posted Hide Post
Add a "B" to the output format. (B is for bracket) Like:

AMOUNT/D12.2B


Regards,

Darin



In FOCUS since 1991
WF Server: 7.7.04 on Linux and Z/OS, ReportCaster, Self-Service, MRE, Java, Flex
Data: DB2/UDB, Adabas, SQL Server Output: HTML,PDF,EXL2K/07, PS, AHTML, Flex
WF Client: 77 on Linux w/Tomcat
 
Posts: 2298 | Location: Salt Lake City, Utah | Registered: February 02, 2007Report This Post
<Umar Farook S>
posted
whether the total of that column will come correctly if i add 'B'

there will be both mix of +ve and -ve amounts so only i am asking
 
Report This Post
Virtuoso
posted Hide Post
The totals are displayed in the same format as the column values, so if the total is negative, the value will be displayed in parentheses.


Regards,

Darin



In FOCUS since 1991
WF Server: 7.7.04 on Linux and Z/OS, ReportCaster, Self-Service, MRE, Java, Flex
Data: DB2/UDB, Adabas, SQL Server Output: HTML,PDF,EXL2K/07, PS, AHTML, Flex
WF Client: 77 on Linux w/Tomcat
 
Posts: 2298 | Location: Salt Lake City, Utah | Registered: February 02, 2007Report This Post
<Umar Farook S>
posted
what will happen to the positive values if they are present in the column.
will +ve values also get into paranthesis
 
Report This Post
Guru
posted Hide Post
Please try the formatting option and see what happens.


ttfn, kp


Access to most releases from R52x, on multiple platforms.
 
Posts: 346 | Location: Melbourne Australia | Registered: April 15, 2003Report This Post
Platinum Member
posted Hide Post
Umar, the IBI tech site has lots of information. Go to IBI.COM, click on Services and Suppport, then Tech Support. If you are not already registered, you'll need to do that first. It does not cost anything but you will need your site code. Once you're in, you'll see Advanced Search on the right hand side under Quick Links. Click on that. Enter FIELD FORMATTING OPTIONS for your search criteria. Click on the search button. You'll get back a lot of stuff but look for a entry titled FIELD FORMATTING. It was 23rd in my listing. For you it may be different. In the abstract and link, you'll see things making reference to the mainframe. That does not matter. One of the great things about this product is that the same thing works on all platforms. Once you click on that, pan down until you see NUMERIC FIELD EDIT OPTIONS. You'll see the B for the brackets they were telling you about plus some other stuff. I recommend you always go to the IBI tech site and search for what you need yourself because you post a question on the forum, you may not get an answer for a couple of hours, where if you look it up yourself, you could have the answer in the few minutes. Good luck.

This message has been edited. Last edited by: Jessica Bottone,


Data Migrator 5.3, 7.1, 7.6
WebFOCUS 7.1, 7.6, 7.7
SQL Server, Oracle, DB2
Windows
 
Posts: 126 | Registered: January 18, 2007Report This Post
<Umar Farook S>
posted
Thanks Jessica
Thank you very much
 
Report 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     Replace Negative values

Copyright © 1996-2020 Information Builders