### TotalPageCount

Basic and Crystal syntax.

##### Returns

Whole number

##### Action

Passes the report and returns the total number of pages.

##### Typical uses

You might use this function, for example, to place the number of pages into the report header or footer.

##### Examples

The following example is applicable to both Basic and Crystal syntax:

`TotalPageCount`

Returns 2 where your report contains a total of 2 pages.

##### Comments

This function will add an extra pass to the report.

Seagate Software, Inc. http://www.seagatesoftware.com Please send comments to: techpubs@seagatesoftware.com