Focal Point Banner


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.


Focal Point    Focal Point Forums  Hop To Forum Categories  WebFOCUS/FOCUS Forum on Focal Point     [CLOSED] Filtering by Keyword

Read-Only Read-Only Topic
Go
Search
Notify
Tools
[CLOSED] Filtering by Keyword
 Login/Join
 
Member
posted
Hi there,

I am trying to build a report with parameter that contains keywords. And would like to filter a table column. For example, in my report i am displaying account and comments columns. And i have a parameter called keywords that contains 2 lines 'A VETERAN' and 'AN EMPLOYEE'. How would I create the filter so that the reports gets filtered by what keywords were selected?

In SQL, i could do something like: WHERE Comments LIKE '%A VETERAN%' OR '%AN EMPLOYEE%'.

I tried something like this and it did not work. I got an error, "(FOC028) USE INCLUDES/EXCLUDES TEST TO RETRIEVE PARENT RECORDS ONLY".

WHERE Comments INCLUDES &Keywords.(OR(, |FORMAT=A100)).Keywords:.;


Thank you
Glen

This message has been edited. Last edited by:
FP Mod Chuck,
 
Posts: 15 | Registered: January 24, 2020Report This Post
Virtuoso
posted Hide Post
WHERE Comments CONTAINS &Keywords.(OR(, |FORMAT=A100)).Keywords:.;


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, 2013Report This Post
Guru
posted Hide Post
This works for me so you should be able to run with LIKE unless it doesn't like SPACES
[CODE
TABLE FILE CAR
SUM SALES
BY COUNTRY
WHERE COUNTRY LIKE '%J%' OR '%Y%'
END
[/CODE]


-********************
Sandbox: 8206.10
Dev: 8201M
Prod:8009
-********************
 
Posts: 289 | Location: Houston,TX | Registered: June 11, 2004Report This Post
  Powered by Social Strata  

Read-Only Read-Only Topic

Focal Point    Focal Point Forums  Hop To Forum Categories  WebFOCUS/FOCUS Forum on Focal Point     [CLOSED] Filtering by Keyword

Copyright © 1996-2020 Information Builders