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.
Opened a case with support, but wanted to ask if anyone had a similar issue.
We are running 8.206.01 in QA and we have missing on for a particular field in the metadata.
We are using autoprompt to pull in values on a page which we can multiselect. one of the possible values is "MISSING" since we can have nulls in the data.
When i look at the debugger, it looks like the sql is being written like this:
in 8202M:
((T1."MyField" IS NULL) OR (T1."MyField" = 'Value1'))
in 8206.01:
T1."MyField" IN('Value1', 'MISSING'))
It looks like the dropdown is passing the shown value, not the actual value of the missing item which would be NULL.
I did find that the SQL statement does process properly if we ONLY used the MISSING choice in the dropdown. If we multiselect MISSING and something else, it processes it as I originally mentioned.
Nope, it's being passed properly to the fex as '_FOC_MISSING'.
The SQL that it sends off to the database is being passed as 'MISSING' in quotes. So it's like the SQL is being written wrong by WebFOCUS, however the FEX is interpreting it properly.
This is the WHERE condition of the fex:
WHERE MyField EQ 'Value1' OR '_FOC_MISSING';
This is the SQL it writes:
(T1."MyField" IN('Value1', 'MISSING'))
It's like it can't translate _FOC_MISSING to a NULL on the SQL translation side of things. Because it's translating it literally as 'MISSING' it also puts it in an "IN" SQL clause instead of breaking out into an "OR" like it does in 8202M.