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 am fairly new to WF so excuse me if I am asking a dumb question. I searched the forums and only found converting dates to integers. I have a A5 field that we use to symbolize a specific error; ie ADD. I am looking to get a count of flags for a specific group of people and then sort descending.
Here is the code I am using right now with an edit in a define: DEFINE FILE T_DB_ERROR_CNT Flag_num/I6C=EDIT(T_DB_ERROR_CNT.T_DB_ERROR_CNT.FLAG); FLAG_COUNT/I5C=IF Flag_num GE 1 THEN 1 ELSE 0; END
Can someone take a look and help me out with this?This message has been edited. Last edited by: <Kathryn Henning>,
8.1.0.4 Windows 7 Excel, AHTML, HTML,PDF
Posts: 41 | Location: North Carolina | Registered: September 14, 2012
This field being ALPHA, the EDIT function will return 0 when the contents is not a number. So, if you SUM your Flag_num field you will get the number of FLAGs containing numbers only. Is that what you wanted?
Daniel In Focus since 1982 wf 8.202M/Win10/IIS/SSA - WrapApp Front End for WF
Posts: 1980 | Location: Tel Aviv, Israel | Registered: March 23, 2006
No i want it for all of them whether they have numbers or not. I think that is what my issue is that it is just doing the ones with numbers. Is there a way to get those that have just ALPHA in them as well?
8.1.0.4 Windows 7 Excel, AHTML, HTML,PDF
Posts: 41 | Location: North Carolina | Registered: September 14, 2012
I could do a IF statement for flag saying that if FLAG_COUNT EQ 0 THEN 1 ELSE 0. Would that work?
Actually tried this and it goes back to the original issue that it counts everything that has ALPHA characters as a '1' but everything with a number as '0'
8.1.0.4 Windows 7 Excel, AHTML, HTML,PDF
Posts: 41 | Location: North Carolina | Registered: September 14, 2012