A script-enabled browser is required for this page to function properly.

SRW.SET_PAGE_NAVIGATION_HTML built-in procedure

This procedure specifies the scripting for navigation controls in page-streamed HTML/HTMLCSS report output. It should be included in a Before Report trigger.

Syntax

SRW.SET_PAGE_NAVIGATION_HTML(type,'string');

Parameter

Description

type

Is SRW.FILE_ESCAPE or SRW.TEXT_ESCAPE.    It indicates whether the string parameter is a filename or the HTML script text to be inserted.

string

Is a filename or the HTML scripting code to be inserted, depending on what was specified for the type parameter. If left blank, the default Reports Builder JavaScript is used to define navigation controls on each page of report output. 

Usage notes

If you choose to provide your own script for navigation controls, you must include three variables in your script:

Reports Builder assigns values to these variables during formatting.

The height of the page navigation control frame is hard coded to 70 points without a scroll bar. The width of the frame is variable. If you want to use icons and images in this frame, keep these dimensions in mind.

GUI access

You can also define this attribute using the Reports Builder user interface:

Property Inspector

Set the Page Navigation Control Type and Page Navigation Control Value properties.

See also

About the Reports Builder built-in package (SRW)

SRW built-in package