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 am placing an image in the Report Heading of a compound Excel 2000 report. The image does not get placed. If I run the two reports individually, the image does get placed.
I smell a bug.
SET PAGE-NUM=OFF -RUN
DEFINE FILE CAR HEADER_IMG/A100='<img src="/approot/ibinccen/images/wflogo.gif" border="0" alt="WebFOCUS">'; END -RUN
SET COMPOUND=OPEN -RUN
TABLE FILE CAR SUM SALES BY COUNTRY HEADING "Sales Report" " " ON TABLE SUBHEAD "<HEADER_IMG" ON TABLE SET STYLE * TYPE=REPORT, TITLETEXT='Sales', $ TYPE=HEADING, STYLE=BOLD, COLOR=BLUE, $ TYPE=TITLE, STYLE=BOLD, $ ENDSTYLE ON TABLE PCHOLD FORMAT EXL2K END -RUN
SET COMPOUND=CLOSE -RUN
TABLE FILE CAR SUM DC BY COUNTRY HEADING "Cost of Goods Sold Report" " " ON TABLE SUBHEAD "<HEADER_IMG" ON TABLE SET STYLE * TYPE=REPORT, TITLETEXT='Cost', $ TYPE=HEADING, STYLE=BOLD, COLOR=BLUE, $ TYPE=TITLE, STYLE=BOLD, $ ENDSTYLE ON TABLE PCHOLD FORMAT EXL2K END
Yes i also think its a bug , cause i've been trying to get it working for quite some trime , but in the end i just gave up and left the image out of it.
I'll see if I can get the time to put together an example for you using CAR. I am working on a workbook right now that has four tabs, the first of which has two images imbedded in a heading.
The problem is that I cannot get the Header image in both reports of the compound report - it does not display in either. If I put it in one, it works.
My apologies for the misunderstanding. However, that being said, I placed the same image in both reports and it appeared in both worksheets in the same workbook.
SET COMPOUND = OPEN
DEFINE FILE CAR IMG1/A100 = '<img src="http://servername/approot/ibinccen/images/wflogo.gif" border="0"></img>' ; END
TABLE FILE CAR HEADING " " " " "<IMG1" " " " " SUM SALES BY CAR ON TABLE PCHOLD FORMAT EXL2K ON TABLE SET STYLE * TITLETEXT='REPORT1',$ ENDSTYLE END
SET COMPOUND = CLOSE
TABLE FILE CAR HEADING " " " " "<IMG1" " " " " SUM SALES BY CAR ACROSS COUNTRY ON TABLE PCHOLD FORMAT EXL2K ON TABLE SET STYLE * TITLETEXT='REPORT2',$ ENDSTYLE END
I know this might be a little disheartening, but the above did work for me.
Ok, how come I can't get this simple example to work - single report with no styling:
DEFINE FILE CAR IMG1/A100 = '<img src="http://webfadh.target.com:/wfrimg/rw07.gif" border="0">' ; END TABLE FILE CAR PRINT MODEL SEATS HEADING " " "<IMG1 " " " " " ON TABLE SET PAGE-NUM OFF ON TABLE NOTOTAL ON TABLE PCHOLD FORMAT EXL2K END
When it runs, the image is not visible, and only appears when I click on its placeholder and select "Reset Picture" from the picture toolbar. Even so, it disappears again after scrolling away or doing print preview. Help!!
Posts: 59 | Location: Minneapolis | Registered: September 01, 2004
I never got it to work in a compound report, but it should work in a simple report.
You don't mention which version you're working in.
Here's a simple report that DOESN'T work!!!
DEFINE FILE CAR
HEAD_IMG/A60 = '<img src="/approot/ibinccen/images/wflogo.gif">';
END
TABLE FILE CAR
SUM
SALES
BY COUNTRY
HEADING
"<HEAD_IMG"
ON TABLE PCHOLD FORMAT EXL2K
END
Comment the ON TABLE PCHOLD FORMAT EXL2K line and it works!!! I can't explain this.
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
It looks like, for Excel 2000, it works when you use an absolute image url:
DEFINE FILE CAR
HEAD_IMG/A100 = '<img src="http://ocdt70070610:8080/approot/ibinccen/images/wflogo.gif">';
END
TABLE FILE CAR
SUM
SALES
BY COUNTRY
HEADING
"<HEAD_IMG"
ON TABLE PCHOLD FORMAT EXL2K
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
We're on Webfocus 7.1.4 and Excel 2003, sorry for not mentioning that. When running from my desktop computer (same versions), everything ran fine, it's just my laptop that has issues. I'll see if I'm missing some patches.
Posts: 59 | Location: Minneapolis | Registered: September 01, 2004
The thing I find disappointing is that the image is not able to be positioned in the heading Another reason why I pursuade Clients not to have images in Excel output - seems to get agreement
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