PA_GetCurrentPage


version 2003


PA_GetCurrentPage → short

Parameter Type Description
This command does not require any parameters
Function result short Current page number

Description

The routine PA_GetCurrentPage returns the current page number of the current layout.

Example

Open a file and change the title bar.

   if(PA_GetCurrentPage() > 2000)
      PA_ReturnString("Don't you think this form is a little bit too heavy?");

See Also

No reference.

Error Handling

Use PA_GetLastError to see if an error occurred