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 Guys, I have a fex which have 'LIKE' filter condition. --------------------------------------------------- TABLE FILE EMPDATA PRINT EMPDATA.EMPDATA.PIN EMPDATA.EMPDATA.DEPT EMPDATA.EMPDATA.DIV WHERE EMPDATA.EMPDATA.DIV LIKE '&DIV'; ON TABLE SET PAGE-NUM NOLEAD ON TABLE NOTOTAL ON TABLE PCHOLD FORMAT HTML ON TABLE SET HTMLCSS ON ON TABLE SET STYLE * INCLUDE = IBFS:/EDA/EDASERVE/_EDAHOME/ETC/endeflt.sty, $ ENDSTYLE END --------------------------------------------------
When i am including this fex in HTML composer and trying to Schedule it. It accept i.e - value are- 1 - NE 2 - CORP But when im putting wildcard value- i.g 1 - COR% 2 - N% ---------------------- its giving me error..
An unexpected application error has occurred. Please contact your WebFOCUS Systems Administrator.
I can run with wildcard value but not able to Schedule it. Can u guys please Resolve this error.This message has been edited. Last edited by: <Kathryn Henning>,
Thanks! @vi
WebFOCUS 8105, Dev Studio 8105, Windows 7, ALL Outputs
The problem is to manage what your user will enter in the parameter field and how. Assuming that only wild card % can be entered without any space or coma, the fallowing should work. Otherwise you'll have to adjust the code or limit what user can enter and the way they enter it.
-SET &PARAM = 'DOOR%AUTO%';
-SET &INTER = '''' || STRREP(&PARAM.LENGTH, &PARAM, 1, '%', 6, ''' OR ''', 100, 'A100') || '-''';
-SET &INTER2 = STRREP(&INTER.LENGTH, &INTER, 7, 'OR ''-''', 0, '', &INTER.LENGTH, 'A&INTER.LENGTH');
-SET &TEST = STRREP(&INTER2.LENGTH, &INTER2, 1, '-', 0, '', &INTER2.LENGTH, 'A&INTER2.LENGTH');
-TYPE PARAM: &PARAM
-TYPE INTER: &INTER
-TYPE INTER2: &INTER2
-TYPE TEST: &TEST
TABLE FILE CAR
PRINT MODEL
BY COUNTRY
BY CAR
WHERE MODEL CONTAINS &TEST;
END
Basically what I'm doing is creating a list of possible values based on what the user provide. And because they can end their string with a wild card, I need to manage it. It's may not be very elegant, but should work up to a certain point.
WF versions : Prod 8.2.04M gen 33, Dev 8.2.04M gen 33, OS : Windows, DB : MSSQL, Outputs : HTML, Excel, PDF In Focus since 2007
Posts: 2409 | Location: Montreal Area, Qc, CA | Registered: September 25, 2013