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     [SOLVED] column title in OLAP report

Read-Only Read-Only Topic
Go
Search
Notify
Tools
[SOLVED] column title in OLAP report
 Login/Join
 
Gold member
posted
Hi,

The span title portion in the below code does not work when i switch OLAP ON.
When I run the report, the column title that has the span title tag comes out as garbage.
Any ideas how to make that work?

-OLAP ON
TABLE FILE CAR
PRINT 
     COUNTRY AS '<span title="Test"></span>'
     CAR
     MODEL
END

This message has been edited. Last edited by: Kerry,


WF 7.1.1, WF Developer studio 7.1.1, Windows & Mainframe, HTML
 
Posts: 84 | Registered: July 28, 2009Report This Post
Expert
posted Hide Post
You MUST view the source of your example first without the span tag and then with the span tag to see why it's screwing up.

There is a process that one should go through when trying to solve a programming problem, this is one step.

Here's how to fix your particular problem: use single quotes instead of double quotes, because double quotes are being used for something else in the same line of generated HTML code (double single quotes for WebFOCUS because the whole string is within an AS clause which uses single quotes as well (!)

-OLAP ON
TABLE FILE CAR
PRINT 
     COUNTRY AS '<span title=''Test''>Test</span>'
     CAR
     MODEL
END
-RUN

But this won't be much good as you will see if you run the new example. What are you attempting to do?


Francis


Give me code, or give me retirement. In FOCUS since 1991

Production: WF 7.7.05M, Dev Studio, BID, MRE, WebSphere, DB2 / Test: WF 8.1.05M, App Studio, BI Portal, Report Caster, jQuery, HighCharts, Apache Tomcat, MS SQL Server
 
Posts: 10577 | Location: Toronto, Ontario, Canada | Registered: April 27, 2005Report This Post
Gold member
posted Hide Post
I just want a descriptive text for each column upon hovering the mouse over the column title.The final report in this case is an OLAP report.

I couldn't figure out how to accomplish that the regular way but the following code
displays the text within
 <> 
upon hovering the mouse over the up/down arrow image.So, this becomes the 'makedo' mouseover text.

TABLE FILE CAR
PRINT
     COUNTRY AS '<MADE IN COUNTRY>COUNTRY' 
     CAR AS '<NAME OF CAR>BODYTYPE'
BY MODEL AS '<Model of Car>MODEL'
END


WF 7.1.1, WF Developer studio 7.1.1, Windows & Mainframe, HTML
 
Posts: 84 | Registered: July 28, 2009Report 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     [SOLVED] column title in OLAP report

Copyright © 1996-2020 Information Builders