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 have a request to split a description field into two lines for display purposes. This is a financial application, where the report is sorted by security name. If the security is a bond, then the user would like the interest rate and maturity date to be displayed under the security name.
I came up with a solution, where I use match, to first print out all the security names, with a second match file, containing the interest rate and maturity dates, for those securities that are bonds.
This accomplished the goal of producing a reported sorted by security name, with a second line being produced showing interest rates and maturity dates for bonds.
This solution works great with PDF files. The problem is that the user also wants the report in EXCEL format. When I output the report to EXCEL, the second line of the security name (containing the interest rate and maturity date for bonds) prints in it's own cell, below the security name.
This makes it impossible for the user to sort the report on security name. What I would like to do is produce a single alpha field, that can be output into an EXCEL spreadsheet, that would split up the text into two lines within a single cell. I thought that maybe I could embed a line feed character within the alpha field, but I do not know if that is possible.
Is this possible?This message has been edited. Last edited by: <Kathryn Henning>,
Posts: 62 | Location: New York City | Registered: December 29, 2004
The best idea I can come up with is to conditionally apply that splitting of the description field.
I tried a few things in excel, but even if you use the unicode character for the linefeed, it will still put the "new line" on the second row in Excel ('97).
/edit: I found I had to clarify this a bit. I copy/pasted the characters from a unicode file in Excel with the option "Paste Special � as Unicode". Afterwards I actually tried creating unicode characters as DEFINE fields, but you'd get the same result as with the <br> html tag:
A
B
).
Posts: 44 | Location: Belgium | Registered: January 10, 2005
TABLE FILE CAR PRINT ABC3 ON TABLE PCHOLD FORMAT EXL2K END
They claim this works, but when I tried it it didn't work. When the output is directed to EXCEL, the webfocus engine decides to convert the '<' to 'amper LT' and converts the '>' to 'amper LT'. This prevents EXCEL from printing the output on two lines. When the output is directed to HTML, the webfocus engine leaves the <BR> as is, and HTML correctly splits the single cell, into two lines.
I wish there was a method, to have webfocus output the data field into EXCEL, and not convert the '<' and '>' characters into there ampersand equivilents.
Posts: 62 | Location: New York City | Registered: December 29, 2004