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.
I have two types of records - "P" and "S". Each of these have an amount field. If the record is a "P" record I want my amount field to be displayed with commas and a $ sign. If the record is an "S" record I want the amount field to be displayed with only commas - NO $ sign. Can anyone give me an example of how this is done.... Thanks so much ......
Posts: 132 | Location: Kansas | Registered: November 12, 2003
DEFINE FILE CAR
FMT/A8 = IF RETAIL_COST GE 10000 THEN
'D12.2' ELSE 'D12.2M';
END
-RUN
TABLE FILE CAR
SUM
RETAIL_COST
RETAIL_COST/FMT
BY COUNTRY
BY CAR
END
You can change the if statement to look for P's and S's.This message has been edited. Last edited by: <Mabel>,
Posts: 406 | Location: Canada | Registered: May 31, 2004
Thanks so much CurtisA..... I was trying to put the entire RETAILCOST/D12.2C in the define..... I didn't even think about just doing the Format.........
Posts: 132 | Location: Kansas | Registered: November 12, 2003
Report Painter.... Right click on field, select dynamic and then select the FMT ( or whatever name you gave the already defined field) .......
Took me a little bit but I found it - if in fact this is how you would have done it .... thanks for the tip that Report Painter does this too...... I'm just starting to use Report Painter it's amazing all the things it can do........
and my user is very happy I could accomodate her particular formatting issue......
Posts: 132 | Location: Kansas | Registered: November 12, 2003