Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Report.NextRecord Property (Access)
Collapse the table of content
Expand the table of content

Report.NextRecord Property (Access)

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

expression .NextRecord

expression A variable that represents a Report object.

The NextRecord property uses the following settings.

Setting

Description

True

(Default) The section advances to the next record.

False

The 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.

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

Public Sub ChangeNextRecord(r As Report) 
 r.NextRecord = False 
End Sub
Show:
© 2015 Microsoft