##### Browsing report pages

The methods listed here are also available to JReport Result Viewer Bean.

- The methods getCurrentPageNumber() and getTotalPageNumber() are used to return the current page number and the total number of pages of the current report onto the screen.
- The method int gotoPage(int pageNumber) is used to display the page specified by PageNumber on the screen. If PageNumber is out of the range of the current report, the first page (if the pageNumber is less than 0), or the last page will be shown on screen. The returned value is the current page number.
- The methods firstPage(), prevPage(), nextPage() and lastPage() are used to show the specified page on the screen.

The return value of the above methods is a string, and can be:

- "OK"
- "No more page"
- Other error messages such as "No report load".