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

Facebook Twitter LinkedIn YouTube
Focal Point    Focal Point Forums  Hop To Forum Categories  WebFOCUS/FOCUS Forum on Focal Point     PDF Compound Report with no output
Go
New
Search
Notify
Tools
Reply
  
PDF Compound Report with no output
 Login/Join
 
Expert
posted
Something one of my Clients recently hit and a possible solution -

Client was producing a multiple graph output on a single A3 sheet in a 3 x 3 grid. However occasionally one of the focexecs producing the graph (in a GIF) produced no records and therefore no GIF.

Solution -

Check for return of no records and substitute a standard GIF file in its stead -

.....<br />-#HOLDGIF<br />ON GRAPH HOLD AS &GifName FORMAT GIF<br />END<br />-IF &RECORDS NE 0 THEN GOTO #CHK_HTML ;<br />COPY \\[URL reference]\nograph.gif &GifName...GIF<br />-#CHK_HTML<br />-READ &GifName &HTML_CHK.A6. ;<br />-IF &HTML_CHK EQ 'GIF89a' THEN GOTO #NOWEND<br />COPY \\[URL reference]\invalid.gif &GifName...GIF<br />-#NOWEND<br /> 
The second test also validates for an invalid GIF file and substitutes a GIF that indicates the Graph GIF produced is not able to be displayed.

Standard stuff really - just taking the normal no record test one step further!
 
Posts: 5617 | Location: United Kingdom | Registered: April 08, 2004Reply With QuoteReport This Post
  Powered by Social Strata  
 

Focal Point    Focal Point Forums  Hop To Forum Categories  WebFOCUS/FOCUS Forum on Focal Point     PDF Compound Report with no output

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