How to: |
When you run a report designated for On-Demand Paging, the WebFOCUS Viewer opens automatically and displays the first page of the report. The Viewer consists of two panes: the Report Pane and the Viewer Control Panel, as shown in the following image.
The Report Pane is the larger pane and contains one page of report output. When you first run a report, the Report Pane contains the first page of report output. The Viewer Control Panel contains the controls that allow you to display specific pages, deliver the entire report to your web server, and search your document for particular strings of information.
SET WEBVIEWER = {OFF|ON}
or
ON TABLE SET WEBVIEWER {OFF|ON}
where:
Disables on-demand paging. WebFOCUS downloads the entire report to a standard browser window. OFF is the default value.
Enables on-demand paging. WebFOCUS downloads the first page of a report to the browser in the Viewer. The number of lines displayed at one time depends on Windows desktop settings (resolution).
The procedure and launch page for this example are run in WebFOCUS. They must be tested and run in this environment.
Procedure:
SET WEBVIEWER=ON TABLE FILE CENTORD PRINT ORDER_NUM ORDER_DATE BY STORE_CODE WHERE STORE_CODE EQ '1003DC' ON TABLE SET PAGE-NUM OFF ON TABLE SET STYLE * TYPE=REPORT, GRID=OFF,$ ENDSTYLE END