Focal Point Banner
Community Center Education Summit Technical Support User Groups
Let's Get Social!

Facebook Twitter LinkedIn YouTube
Go
New
Search
Notify
Tools
Reply
  
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, 2013Reply With QuoteReport 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: 202 | Location: Johannesburg, South Africa | Registered: September 13, 2008Reply With QuoteReport This Post
  Powered by Social Strata  
 


Copyright © 1996-2018 Information Builders, leaders in enterprise business intelligence.