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.
Hello, i have used DECODE to add additional text to a column titel. now the titles are very long and the costumer wants a line break at specific places. how can i a achieve this goal???
ChristianThis message has been edited. Last edited by: Kerry,
WF Production Version: 7.7.02M WF Test Version: 7.7.02M Developer Studio: 7.7.02 HTML, EXL2K, FLEX, PDF,PPT
Waz nice idea with the course. In Germany WebFocus is not a big player in BI, i think Information Builders germany has 15 Consultans. it is not so easy to get a training for a comman price. The Comma does not work, i have additinal text in () breakets. And i think between these () the comma does not work. Christian
WF Production Version: 7.7.02M WF Test Version: 7.7.02M Developer Studio: 7.7.02 HTML, EXL2K, FLEX, PDF,PPT
here is my code: VERTEILER_DESC/A500=DECODE VERTEILERLISTE('BLA vor Ort' 'BLA vor Ort (BLA vor Ort; abc defgh dfghjkl dc fff ttt ttt mmm eeee eeeee ttttt tttt tt mit nnnnnn)');
i would like to have the line brak after the fff, sorry for the cryptic code, but it is sensitiv stuff!!
Christian
WF Production Version: 7.7.02M WF Test Version: 7.7.02M Developer Studio: 7.7.02 HTML, EXL2K, FLEX, PDF,PPT
I dont see any problem in breaking the column title.
If you can tell us how you use DECODE function for your column title, we can figure out what causes the problem.
Here's the sample code, -SET &TITLE = '(BLA vor Ort; abc defgh dfghjkl dc fff, ttt ttt mmm eeee eeeee ttttt tttt tt mit nnnnnn)'; TABLE FILE CAR PRINT CAR COUNTRY AS '&TITLE' END
-Hari WF-769
WF 7.7.02 on Windows 7 Teradata HTML,PDF,EXCEL,AHTML
The simple use of comma in the decode does not work here. The decoded field is a new field value and will be used in an ACROSS statement. The use of a comma to break a field only works in an AS command.
There might be an other solution by breaking up the decoded value into 2 different fields and use those fields both in the across.
But I also do remember there was an other option. I saw that here on focalpoint. Did you do a search ?
Frank
prod: WF 7.6.10 platform Windows, databases: msSQL2000, msSQL2005, RMS, Oracle, Sybase,IE7 test: WF 7.6.10 on the same platform and databases,IE7
Posts: 2387 | Location: Amsterdam, the Netherlands | Registered: December 03, 2006
DECODEDFIELD/A100=DECODE FIELD(A 'verlong string A' B 'Very long string B' C' 'all the other longs strings' ); VERYLONGSTRING/A110 = PARAG(100, DECODEDFIELD, '\', 15, 'A110');