Focal Point
How to set NODATA = N/A in Graph

This topic can be found at:
https://forums.informationbuilders.com/eve/forums/a/tpc/f/7971057331/m/7361032371

June 23, 2006, 08:06 AM
Ashok
How to set NODATA = N/A in Graph
Hi,

I have a report and graph generated...In the report I have a particular field which may or may not have data. So the output generated is period(dot)symbol

Using SET NODATA function, I have assigned it to N/A(Not Available) and the same is reflecting in the report output....The problem is when I generate graph using this field it works fine...But the value for that field is displayed as dot instead of N/A.

How do I set/assign the period(dot) symbol to N/A in Graph???

Any suggestion....


Regards,
Ashok Kumar M
June 27, 2006, 04:50 AM
kalyanswarna
Hi Ashok ithink the following Code Suitablre for u.
-IF &RECORDS EQ 0 THEN GOTO NOUTPUT;
-EXIT
-NOUTPUT
-HTMLFORM BEGIN
< !--
No records for the selected combination
-->
-HTMLFORM END

add this code to end of your report.
and edit the text no recorde for the sele..........as per your requirement.


Thanks

This message has been edited. Last edited by: kalyanswarna,


Thanks,
Kalyan.S
------------------------------------
WebFOCUS 7.1.4, Win XP SP2,
Oracle8i.
------------------------------------
June 27, 2006, 06:23 AM
Tony A
Ashok,

Is the data field that you are attempting to show in the graph numeric? If so, I think you will only ever get it to show as a zero.

If it is numeric, you could got to the trouble of redefining as an alphanumeric value and when missing set it to 'N/A' but then you might have problems showing it correctly on a graph.

If your field is not numeric then try creating an example using one of the supplied sample databases (CAR, GGSALES or EMPLOYEE etc.) so that we can understand your predicament more.



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