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.
Had some difficulties - I hope you get all of this:
After your report: -SET &BANG_NODS00 = IF &RECORDS EQ 0 - THEN '!IBI.FIL.MINORECS;' ELSE ' '; -HTMLFORM BEGIN <HTML> <TITLE> National Report <STYLE TYPE="TEXT/CSS"> </STYLE> <BODY> <CENTER> !IBI.FIL.NATRPT; &IBIBANG1; &BANG_NODS00 </CENTER> </BODY> </HTML> -HTMLFORM END In your HTML PDS: SPF/E BROWSE WebFOCUS….HTML.DATA(MINORECS) <HTML> <HEAD> <TITLE> No Data Found </TITLE> </HEAD> <BODY><FONT FACE="ARIAL" SIZE=1> There is no data matching the parameters you requested. </FONT> </BODY> </HTML> (You can center this.)
WebFOCUS 7.6.11, WINDOWS, HTML, PDF, EXCEL
Posts: 77 | Location: Baltimore | Registered: May 31, 2006
rc, this will give you the idea how to put a redirect into your output area. You can adjust the code here to display some alternate "no data found--try again" page for a few seconds (currently set to 5, content="5") before redirecting to some nice pre-made page you might have somewhere, what you call your 'standard output page' If your report does in fact return data, then the redirect statement is bypassed.
SET EMPTYREPORT=ON
TABLE FILE CAR
PRINT *
ON TABLE HOLD AS MYTAB FORMAT HTMTABLE
END
-RUN
-SET &HOWMANY = &LINES ;
-HTMLFORM BEGIN
<html>
<head>
-IF &HOWMANY GT 0 GOTO no.redirect ;
<META HTTP-EQUIV="Refresh"
CONTENT="5 ;
URL=http://the page you want to redirect to">
</head>
-no.redirect
!IBI.FIL.MYTAB;
-HTMLFORM END
In Focus since 1979///7706m/5 ;wintel 2008/64;OAM security; Oracle db, ///MRE/BID
Posts: 3811 | Location: Manhattan | Registered: October 28, 2003