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.
the client doesn't want display no data rows matched by Webfocus default message. He wants a friendly dialog box say "No record found. Please try again." How can I do that. Thanks in advance.
Your request did not return any output to display. Possible causes: - No data rows matched the specified selection criteria. - Output was directed to a destination such as a file or printer. - An error occurred during the parsing or running of the request.This message has been edited. Last edited by: Kerry,
Webfocus 7.7.02, Win 7,Pdf, Excel, HTML
Posts: 25 | Location: VA | Registered: September 10, 2011
You will need to check for the result of &LINES after your report request (make sure EMPTYREPORT is set to OFF). If the value is 0 (No report lines produced), then display a customized page.
TABLE FILE blah
SUM ....
BY ...
WHERE ...
END
-RUN
-IF &LINES GT 0 THEN GOTO :ENDRPT;
-* No lines -- display "friendly message"
-HTMLFORM friendly_no_data.htm
-:ENDRPT
-EXIT
friendly_no_data will be a page that you will create and style to your like/needs. If they want a dialog "box" then you'll have to resort to Javascript in order to accomplish all of that but as you are in control of the HTML markup you can implement it anyway you want.
This example is very simplistic as it's only checking for NO DATA conditions but you may want to also check for errors and the like.
Please try the "Search" feature in this forum for error checking and related material. You'll find plenty of good info.