setPageRange Method

To define the page range, call setPageRange() method before calling calling ProcessReport(). There are two possible ways how to call the setPageRange() method.

Object.setPageRange(tuFrom [, tuTo])

Object.setPageRange(tcPageRange)

Parameters

tuFrom

Specifies from page.

tuTo

 Specifies to page. If tnTo is empty, the total number of pages is used.

tcPageRange

 tcRange is a string, which can contain page numbers or page ranges delimited by commas, the page range is defined as "from-to".

Remarks

Applies To: XFRX#INIT

Examples

m.loXFRX=EVALUATE([xfrx("XFRX#INIT")])
m.loXFRX.setPageRange(1, 5)
m.loXFRX.setPageRange("1-2,5-10")