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.

Join the TIBCO Community
TIBCO Community is a collaborative space for users to share knowledge and support one another in making the best use of TIBCO products and services. There are several TIBCO WebFOCUS resources in the community.

  • From the Home page, select Predict: WebFOCUS to view articles, questions, and trending articles.
  • Select Products from the top navigation bar, scroll, and then select the TIBCO WebFOCUS product page to view product overview, articles, and discussions.
  • Request access to the private WebFOCUS User Group (login required) to network with fellow members.

Former myibi community members should have received an email on 8/3/22 to activate their user accounts to join the community. Check your Spam folder for the email. Please get in touch with us at community@tibco.com for further assistance. Reference the community FAQ to learn more about the community.


Focal Point    Focal Point Forums  Hop To Forum Categories  WebFOCUS/FOCUS Forum on Focal Point     [SOLVED] How to display message if graph report does not have any data.

Read-Only Read-Only Topic
Go
Search
Notify
Tools
[SOLVED] How to display message if graph report does not have any data.
 Login/Join
 
Member
posted
Hi All,

I have created graph report.

SET EMPTYREPORT = ON

If the report does not give any data it displays as plain screen.
Instead of that I want to display some message or image.

For Eg: No data.

How to implement that , please suggest me?

Thanks & Regards,
Chiranjeevi

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


Webfocus 7702, Windows server 2008
 
Posts: 21 | Registered: December 20, 2011Report This Post
Virtuoso
posted Hide Post
If you will do a search on the Forum for Empty Graph and Empty Report you will see several ideas on how to handle this situation.

Good Luck.
 
Posts: 1903 | Location: San Antonio | Registered: February 28, 2005Report This Post
Silver Member
posted Hide Post
I have code like this after my report

-RUN
-IF &RECORDS EQ 0 GOTO ERROR;
-GOTO DONE
-ERROR
-HTMLFORM tp_no_records_message.htm
-DONE

Where tp_no_records_message.htm is a htm that I created with a message in it.


WebFocus 8104, IBMi (server), Windows 7 (client), iWay 6.1
 
Posts: 32 | Registered: January 27, 2011Report This Post
<JG>
posted
You miss a very important detail in what you ask.

What is the output format?

The way you say

quote:
it displays as plain screen


suggests that it's a plain html / image display that's not part of a compound HTML or PDF document.
i.e. only the chart is diplayed.

In that situation the solutions given work.

Otherwise you need to extend them. particularly for compound PDF.
 
Report This Post
Member
posted Hide Post
Hi Prarie,Cgiuda,JG

Thank you very much for your suggestions.
I used Cgiuda code, its working perfectly now.

Thanks & Regards,
Chiranjeevi A.


Webfocus 7702, Windows server 2008
 
Posts: 21 | Registered: December 20, 2011Report This Post
  Powered by Social Strata  

Read-Only Read-Only Topic

Focal Point    Focal Point Forums  Hop To Forum Categories  WebFOCUS/FOCUS Forum on Focal Point     [SOLVED] How to display message if graph report does not have any data.

Copyright © 1996-2020 Information Builders