Table of contents
TOC
Collapse the table of content
Expand the table of content

Report.NextRecord Property (Access)

office 365 dev account|Last Updated: 6/12/2017
|
1 Contributor

The NextRecord property specifies whether a section should advance to the next record. Read/write Boolean.

Syntax

expression. NextRecord

expression A variable that represents a Report object.

Remarks

The NextRecord property uses the following settings.

SettingDescription
True(Default) The section advances to the next record.
FalseThe section doesn't advance to the next record.

To set this property, specify an event procedure for a section's OnFormat property.

Microsoft Access sets this property to True before each section's Format event.

Example

The following example sets the NextRecord property to False for a given report.

Public Sub ChangeNextRecord(r As Report) 
 r.NextRecord = False 
End Sub

See also

Concepts

Report Object

© 2018 Microsoft