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.
We have a portal with 9 different reports on it. In the left banner we have an html with controls that allows us to filter, which updates all 9 reports on the screen. If that filter removes all records for one of those reports, we need it to say, "No Data" instead of coming back with a header, blacked out data, and removing the footer.
What is the best way to do that?This message has been edited. Last edited by: <Kathryn Henning>,
- FOCUS Man, just FOCUS! ----------------------------- Product: WebFOCUS Version: 8.1.04 Server: Windows 2008 Server
-DEFAULT &CNTRY = 'ITALIA'
TABLE FILE CAR
PRINT MODEL
BY CAR
WHERE COUNTRY EQ '&CNTRY';
ON TABLE HOLD as H1
END
-IF &LINES EQ 0 THEN GOTO NODATA;
TABLE FILE H1
PRINT MODEL
BY CAR
END
-GOTO XEND;
-NODATA
TABLE FILE CAR
BY COUNTRY NOPRINT
WHERE READLIMIT EQ 1;
WHERE RECORDLIMIT EQ 1;
HEADING
"No Data"
END
-XEND
WF versions : Prod 8.2.04M gen 33, Dev 8.2.04M gen 33, OS : Windows, DB : MSSQL, Outputs : HTML, Excel, PDF In Focus since 2007
Posts: 2409 | Location: Montreal Area, Qc, CA | Registered: September 25, 2013
-HTMLFORM BEGIN
</br>
[b]There are <FONT color="RED">ZERO</FONT> records generated for the parameter selection(s) </br>
you have made for this report/process. </br>
Please re-submit the report with a different set of parameter selection(s)... </br>
</br>
Thank you.</br> </br> [/b]
-HTMLFORM END
-*********************
Thank you. I can't do the include, because I want the headers and everything to stay the same and each report header is different, however I did get something to work. The message is based on your message.
ENDSTYLE
-IF &LINES EQ 0 THEN GOTO NO_RECORDS;
-GOTO EOJ;
-NO_RECORDS
-HTMLFORM BEGIN
<ul>
<b>There are <FONT color="RED">&LINES</FONT> records generated for the parameter selection(s) you have made for this report/process. </br>
</br>
Please re-submit the report with a different set of parameter selection(s)... </br>
</br>
Thank you.</b>
</ul>
-HTMLFORM END
-EOJ
END
-RUN
- FOCUS Man, just FOCUS! ----------------------------- Product: WebFOCUS Version: 8.1.04 Server: Windows 2008 Server
Don't see how that is working since the syntax is incorrect. S/B:
-HTMLFORM BEGIN <ul> <b>There are <FONT color="RED">!IBI.AMP.LINES;</FONT> records generated for the parameter selection(s) you have made for this report/process. </br> </br> Please re-submit the report with a different set of parameter selection(s)... </br> </br> Thank you.</b> </ul> -HTMLFORM END