$WBLastPage - navigation link to last report page

Availability
QUERY command

Syntax
$WBLastPage
$WBLastPage[]

Returns
Link to the last page of the report.

Here's an example:

<!--
[FormFields]
WB_basename=biblio.mdb
wb_rcdset=titles
wb_command=Q
wb_maxrec=5
wb_startrec=$wbif{"$wbv{wb_startrec}"=""|16|$wbv{wb_startrec}}
-->
<!--WB_BeginTemplate-->
<html>
<head>
<title>Titles</title>
</head>
<body>
<table border="1" cellspacing="0">
<tr>
<td>Year published</td>
<td>Title</td>
<td>ISBN</td>
</tr>
<!--WB_BeginDetail-->
<tr>
<td>$wbf[Year published]</td>
<td>$wbf[title]</td>
<td>$wbf[ISBN]</td>
</tr>
<!--WB_EndDetail-->
</table>
<center>Go to $WBLastPage</center>
</body>
</html> 
 
After running this example, WBSP will display the report with link to last page only:
Go to Last page