RpReport:SetStartRec() Method

<< Click to Display Table of Contents >>

Navigation:  RpReport Class >

RpReport:SetStartRec() Method

Previous pageReturn to chapter overviewNext page

Purpose

This method allows you to specify the starting record for any section of a report.

Syntax

<oReport>:SetStartRec(nRecNo, [nSection])  nRecNo

Arguments

nRecNo                        The new starting record number.
nSection                        Optional section number.  The default is the first section after the optional title section.

Description

This access/assign maps directly to the first table object in the primary section.  It only applies if the first table object is a rpRDDTable.

 

Example

// Set the starting record in section 2

oReport:SetStartRec(500, 2)