Altair® Monarch®

 

Function: Page

Description

Returns the page in the report file of the last detail line for a record.

Syntax

Page()

Arguments

None.

Return value

This function returns a number.

Calculated field example

The following expression returns the report page and line for each record, as a string: "Page: "+LTrim(Str(Page(),7,0))+" Line: "+LTrim(Str(Line(),3,0))

The output of this expression is in the form: Page: 125 Line: 17

Filter/Find example

This function might be used along with the Rand() function to perform auditing of report data, but otherwise has no practical value in a filter expression.