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.
There are many ways (as usual in WebFOCUS). You can use DM "macros", mix the FOCUS with HTML and JavaScript, etc. A very simple and rough example:
-* paging.fex:
-DEFAULTS &PG=1;
TABLE FILE CAR
PRINT SALES
BY COUNTRY
ON TABLE HOLD
END
DEFINE FILE HOLD
PAGE/I8 = IF COUNTRY NE LAST COUNTRY THEN PAGE+1 ELSE PAGE;
END
-RUN
TABLE FILE HOLD
ON TABLE SET PAGE-NUM OFF
PRINT SALES
BY COUNTRY
WHERE PAGE EQ &PG
ON TABLE HOLD AS CARRPT FORMAT HTMTABLE
END
-HTMLFORM BEGIN
<html>
<head><title>WebFOCUS Report with paging</title>
<script type="text/javascript">
function runrep(direction) {
var frm = document.WForm;
if (direction == 'prev') frm.PG.value--;
if (direction == 'next') frm.PG.value++;
frm.submit();
}
</script>
</head>
<body>
<form name="WForm" action="/ibi_apps/WFServlet" method="get">
<input type="hidden" name="IBIAPP_app" value="test"/>
<input type="hidden" name="IBIF_ex" value="paging"/>
<input type="hidden" name="PG" value="&PG|";
<table>
<tr>
<td colspan="2">!IBI.FIL.CARRPT;</td>
</tr>
<tr>
<td><input type="button" value="<<" onclick="runrep['prev')"/></td>
<td><input type="button" value=">>" onclick="runrep('next')"/></td>
</tr>
</table>
</form>
</body>
</html>
-HTMLFORM END