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. Moving forward, myibi is our community platform to learn, share, and collaborate. We have the same Focal Point forum categories in myibi, so you can continue to have all new conversations there. If you need access to myibi, contact us at myibi@ibi.com and provide your corporate email address, company, and name.


Connect to myibi

Read-Only Read-Only Topic
Go
Search
Notify
Tools
No data Image
 Login/Join
 
Member
posted
If my report has no data, I need to display a image instead of Graph= No data message.

Can anyone help on this.I am using 8.0.9 version


WebFOCUS 7.6
Windows, All Outputs

 
Posts: 7 | Registered: August 22, 2013Report This Post
Platinum Member
posted Hide Post
Hi,
Are you sure that you are using the 8.0.9 version? We're only on 8.0.04 at the moment ;-)

Anyway - if you have "coded" your program i.e. you can edit the program with the text editor, then you could use something like this in your program:
  
GRAPH FILE CAR
SUM SALES BY COUNTRY
IF COUNTRY EQ X
END
-RUN
-IF &LINES GT 0 GOTO BOTTOM;
-* We are here because no data was retrieved
-HTMLFORM BEGIN
<html><body>
<img src="/approot/ibisamp/smpbkg1.jpg">
</body></html>
-HTMLFORM END
-BOTTOM


WebFOCUS 8.2.06 mostly Windows Server
 
Posts: 195 | Location: Johannesburg, South Africa | Registered: September 13, 2008Report This Post
  Powered by Social Strata  

Read-Only Read-Only Topic


Copyright © 1996-2020 Information Builders