Content-type: text/html Query Paging

Home
WebGroove is no longer supported. These docs are reference only.


Query Paging
Sometimes a query returns too many rows to fit comfortably on one page. WebGroove's query paging gives you an easy way to handle this. On the sql tag in question, just set the pgsize parameter to the maximum number of rows you would like displayed at one time.

After the sql tag, you can use the {sys:prevpg_link} and {sys:nextpg_link} variables to provide links to the other data pages. You could do a more advanced AltaVista-style page index with a little perl block using the {sys:num_pages} and {sys:page_num} variables.

More
Agent System Variables
page_link subroutine

Up To
page_link subroutine
Sql Tag


WebGroove® is a registered trademark of Creativision Publishing Corporation