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.
In our application we have very complex conditions. In the first case we work on a FOC table, in the second we read a sql table. To minimize the amount of maintenance and to have a single point of failure the conditions are held in a table also in WebFOCUS format (e.g. " DEALER_COST LE 10000"). Now we tried to transfer this condition to SQL notation ("DEALER_COST <= 10000"). Using STRREP we got the result "DEALER_COST <= 10000"). Any suggestion? The documentation only deals with escaping in the WHERE statement.
Thanks in advance and have a nice weekendThis message has been edited. Last edited by: MichaelBalle,
WebFOCUS 7.6, 7.7 Windows, All Output formats
Posts: 90 | Location: Stuttgart | Registered: October 20, 2010
I don't seem to understand what your issue/need is.
Using STRREP eems to be getting what SQL expects in terms of a filtering expression -- I am assuming you're reading that into a amper variable and later adding it to your SQL statement.
Why do you need to escape the characters? Are you somehow reading this to populate an HTMl launch screen and then pass those values back to a WebFOCUS procedure to be used?
Could you please elaborate a bit more as to what you're doing and what exactly is not working. Some code sample (using the CAR table) would be helpful.