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'm getting a syntax error on this in my fex: ... ON TABLE SUBFOOT "&DATE<+0> <+0>&TOD" "<a href=""http://www.x.com/nextpage.htm""><img src=""next.jpg"" border="0"></a>" ...
Is there any way to make webfocus ignore the <a character? It's looking for an amper when I run it.
Thanks!
Prod: Single Windows 2008 Server running Webfocus 7.7.03 Reporting server Web server IIS6/Tomcat, AS400 DB2 database.
There are a two ways to do this which use the same technique. Take the HTML code and put it in either a DEFINE or COMPUTE. I recommend a COMPUTE since it will be calculate fewer times.
I have to correct my previous post. You can only do this with either a COMPUTE or DEFINE. The DM variable method does not work. Sorry for the confusion. I have not had my coffee yet today.
Thanks!
Mickey
FOCUS/WebFOCUS 1990 - 2011
Posts: 995 | Location: Gaithersburg, MD, USA | Registered: May 07, 2003
You are correct that this will work as well. I fell into the trap of the myopic view and only corrected the code that was given. I again blame it on no coffee yet.
In order for your suggestion to be complete you need to add URL=... to support the hyperlink.
Thanks!
Mickey
FOCUS/WebFOCUS 1990 - 2011
Posts: 995 | Location: Gaithersburg, MD, USA | Registered: May 07, 2003
Actually, it's TABFOOTING for a ON TABLE SUBFOOT, and you can't do exactly what Jason wants.
TABLE FILE CAR
SUM
SALES
BY COUNTRY
ON TABLE SUBFOOT
"&DATE <+0> <+0>&TOD"
"1"
ON TABLE SET STYLE *
type=tabfooting, color=blue,
IMAGE=http://www.informationbuilders.com/images/bulletin.jpg,$
type=tabfooting, line=1, url=http://www.help.com, $
END
Gives you an image and a hyperlink, but the hyperlink is not on the image. I think you simply have to use Mickey's idea and DEFINE a field that is then embedded in the SUBFOOT:
DEFINE FILE CAR
IMAGELINK/A200 =
'<A HREF="http://www.informationbuilders.com/"><IMG SRC="http://www.informationbuilders.com/images/bulletin.jpg" BORDER=0></A>';
END
TABLE FILE CAR
SUM
SALES
BY COUNTRY
ON TABLE SUBFOOT
"&DATE <+0> <+0>&TOD"
"<IMAGELINK"
END
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
Because nobody's actually said why you can't embed the HTML as you wanted, I'll tell you. It's because the leading carat < tells WF that a fieldname follows. If you don't have a field named "A" then you get an error.
You might be able to fool WF into passing the HTML for a left carat by using the "&|lt;" instead of the < but as I haven't tried it you'll have to test it out.
Incidently using the & lt; is how I get the < in this post.
Good luck
T
In FOCUS since 1986
WebFOCUS Server 8.2.01M, thru 8.2.07 on Windows Svr 2008 R2
WebFOCUS App Studio 8.2.06 standalone on Windows 10
Posts: 5694 | Location: United Kingdom | Registered: April 08, 2004