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     EXL2K - Problem with Compound Report and Image

Read-Only Read-Only Topic
Go
Search
Notify
Tools
EXL2K - Problem with Compound Report and Image
 Login/Join
 
Expert
posted
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
 
Posts: 10577 | Location: Toronto, Ontario, Canada | Registered: April 27, 2005Report This Post
Platinum Member
posted Hide Post
Hi Francis,

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.

Peter
 
Posts: 206 | Registered: February 25, 2005Report This Post
Expert
posted Hide Post
I absolutley do not understand why we cannot add an image to a heading in an Excel report via the WebFOCUS style sheet, like we can in a PDF report.

The goal for IBI should be to enable us to use the same WebFOCUS styling for all formats of reports, HTML, Excel, PDF, Word, etc.
 
Posts: 10577 | Location: Toronto, Ontario, Canada | Registered: April 27, 2005Report This Post
Platinum Member
posted Hide Post
Francis,

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.

Ken
 
Posts: 177 | Location: Calgary, Alberta, Canada | Registered: April 25, 2005Report This Post
Platinum Member
posted Hide Post
Francis,

This works for me:

SET COMPOUND = OPEN

DEFINE FILE CAR
IMG1/A100 = '<img src="http://servername/approot/ibinccen/images/wflogo.gif" border="0"></img>' ;
END

where servername is the server name

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
SUM SALES
BY CAR
ACROSS COUNTRY
ON TABLE PCHOLD FORMAT EXL2K
ON TABLE SET STYLE *
TITLETEXT='REPORT2',$
ENDSTYLE
END

Ken
 
Posts: 177 | Location: Calgary, Alberta, Canada | Registered: April 25, 2005Report This Post
Expert
posted Hide Post
Ken,

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.

Thanks.
 
Posts: 10577 | Location: Toronto, Ontario, Canada | Registered: April 27, 2005Report This Post
Platinum Member
posted Hide Post
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.

Ken
 
Posts: 177 | Location: Calgary, Alberta, Canada | Registered: April 25, 2005Report This Post
Gold member
posted Hide Post
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, 2004Report This Post
Expert
posted Hide Post
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
 
Posts: 10577 | Location: Toronto, Ontario, Canada | Registered: April 27, 2005Report This Post
Expert
posted Hide Post
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
 
Posts: 10577 | Location: Toronto, Ontario, Canada | Registered: April 27, 2005Report This Post
Gold member
posted Hide Post
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, 2004Report This Post
Expert
posted Hide Post
The thing I find disappointing is that the image is not able to be positioned in the heading Frowner Another reason why I pursuade Clients not to have images in Excel output - seems to get agreement Smiler

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, 2004Report This Post
Expert
posted Hide Post
T, absolutely agree.


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
  Powered by Social Strata  

Read-Only Read-Only Topic

Focal Point    Focal Point Forums  Hop To Forum Categories  WebFOCUS/FOCUS Forum on Focal Point     EXL2K - Problem with Compound Report and Image

Copyright © 1996-2020 Information Builders