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.
Hi All, I have computed a field by concatenating two fields in the datasource and trying to display it as a column in Read/Write Grid. I tried to declare the computed field by using below methods:
compute EvestProdMapStk1.MandateDesc/A130V ;
OR
compute EvestProdMapStk1.MandateDesc/A130V MISSING ON = ;
OR
compute EvestProdMapStk1.MandateDesc/A130V = ' ' ;
OR
compute EvestProdMapStk1.MandateDesc/A130V MISSING ON = MISSING;
Later in the code this fields is derived by concantenating two fields as:
Now when I am displaying this field in Read/Write Grid,It is showing Period(.) for missing values. i.e, If either one of the two fields value is missing, it shows (.) for that particular value. If both values are missing it show (..) . I have used SYS_MGR.FOCSET("NODATA",""); in Top function already but it did not help. Can anyone please help me get rid of this problem.
Using: SYS_MGR.FOCSET("NODATA", "") in your top case should absolutely take care of both fields and the grids. You could also put: SET NODATA = '' in your EDASPROF and that should do it as well. If neither work, please open a case with customer support and send in your files.
Mark
Posts: 663 | Location: New York | Registered: May 08, 2003
Missing can be awkward in Maintain, and you are correct to open a case. The issue is in the concatenation of 2 missing fields. However if you want a workaround, you can use:
.
.
declare EvestProdMapStk1.MandateDesc/A130V MISSING ON;
.
.
Case Top
SYS_MGR.FOCSET("NODATA", "") ;
.
.
repeat EvestProdMapStk1.FocCount
if EvestProdMapStk1(EvestProdMapDispStk1Cnt).FUND_INVESTMENT_REGION eq missing and EvestProdMapStk1(EvestProdMapDispStk1Cnt).FUND_ASSET_CLASS_SPLIT eq missing then EvestProdMapStk1(EvestProdMapDispStk1Cnt).MandateDesc = missing
else
if EvestProdMapStk1(EvestProdMapDispStk1Cnt).FUND_INVESTMENT_REGION eq missing then EvestProdMapStk1(EvestProdMapDispStk1Cnt).MandateDesc = EvestProdMapStk1(EvestProdMapDispStk1Cnt).FUND_ASSET_CLASS_SPLIT
else
if EvestProdMapStk1(EvestProdMapDispStk1Cnt).FUND_ASSET_CLASS_SPLIT eq missing then EvestProdMapStk1(EvestProdMapDispStk1Cnt).MandateDesc = EvestProdMapStk1(EvestProdMapDispStk1Cnt).FUND_INVESTMENT_REGION
else
EvestProdMapStk1(EvestProdMapDispStk1Cnt).MandateDesc = EvestProdMapStk1(EvestProdMapDispStk1Cnt).FUND_INVESTMENT_REGION || ' ' | EvestProdMapStk1(EvestProdMapDispStk1Cnt).FUND_ASSET_CLASS_SPLIT ;
.
.
Alan. WF 7.705/8.007
Posts: 1451 | Location: Portugal | Registered: February 07, 2007
Are you sure? This is code I have used many times and it has always worked for me. Have you tried displaying only a single field to ensure that the NODATA is correct?
Alan. WF 7.705/8.007
Posts: 1451 | Location: Portugal | Registered: February 07, 2007
Hi Alan, For single field,it is working fine but for computed field in which i concatenated two fields ,it did not work (showing . for null values). When we concatenated the fields in one field at database end and then displayed it on Grid,it worked fine.