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.
-SET &COMPANY='CALIDAD';
-SET &CHOICE=IF '&COMPANY' EQ 'CALIDAD' THEN
- ''WHERE COMPANY EQ ''01'' OR ''07'' '' ELSE 'WRONG';
Of course I have other options instead of 'WRONG' - that's just there to try and isolate the problem.
I have a database that contains tables for a variety of companies. In some cases I want to combine those companies using a where clause. The company number is an alpha field in the database.
I've messed around with any number of quote marks fore and aft and in the middle of the string, but I still get:
IF..THEN..ELSE SYNTAX ERROR
Suggestions?This message has been edited. Last edited by: George Patton,
Yes, I was working on a Sunday, which isn't itself unusual. One of the benefits of my position (it certainly ain't the money) is that I get to make my own hours. But sometimes, as in this case, working instead of resting only serves to induce brain flatulence - as your simple answer to my stupid question only goes to prove.
(Yesterday I spent 6 hours finding the owner of a stray cat that was trying to get itself killed crossing the main drag here in Guelph. After tracking her down through facebook and several other channels, her reaction was only "OK, thanks"... So that put me in a p(r)issy mood and probably impaired what few brain cells I have remaining for the rest of the day ... )