Focal Point
No data Image

This topic can be found at:
http://forums.informationbuilders.com/eve/forums/a/tpc/f/1461084022/m/6777077336

September 27, 2013, 06:32 AM
Vikrantsabari88
No data Image
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

September 29, 2013, 11:26 AM
Twanette
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