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.
I need to change the color for the part of the data populated in a column. Did anyone try the styling for this?
I have a report that has description column which has around 60 characters. User enters the part of description and the report is supposed to retrieve the records that contains the part of the description. Now my question, can the report be styled to highlight the part of the description that the user entered? basically I am trying to add the search functionality like in PDF or HTML where the word gets highlighted when we search for a word.
For example: Description column has data like this: testing of the data
when user enters the parameter testing in the launchpage and hits submit, I need to get the report with testing as the highlighted word and the rest of the description. Is it doable?
I tried this and it works great provided if the user enters the part of the text as it is. I mean this code is working only if the user enters the correct case of the text. So, basically this code is case sensitive. What I have in the description is a mixed case. So, user might enter small letters or capital letters. In that case, it looks like this code does not work.
For example: in the description, I might have a name as : Suzy Smith
so if the user enter smith, this code does not work.
I'm not sure why character conversion is called for here, but anyway...
Instead of coding integer values for the From/To character arguments of CTRAN, I prefer to code the characters explicitly, and let BYTVAL do the conversion.
DEFINE FILE CAR TRANS/A10=CTRAN(10, COUNTRY, BYTVAL(' ','I3'), BYTVAL('^','I3'), 'A10'); END TABLE FILE CAR PRINT TRANS BY COUNTRY END Portable (no Ascii/Ebcdic dependencies), less error-prone, more maintainable.This message has been edited. Last edited by: <Mabel>,
Posts: 1925 | Location: NYC | In FOCUS since 1983 | Registered: January 11, 2005
Thank you for the BYTVAL tip, always wondered what it could be used for.
The reason there's character conversion in my example is that there may be embedded blanks in the text where a string is to be coloured differently. I do not want to lose any blank characters just before and just after the string to be coloured, eg: