NextRecord Property

Applies to

Report Object

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

expression.NextRecord

expression Required. An expression that returns one of the objects in the Applies To list.

Remarks

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 a macro or event procedure for a section's OnFormat property.

Microsoft Office Access 2007 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
Expand your skills
Explore training
Get new features first
Join Office Insiders

Was this information helpful?

Thank you for your feedback!

Thank you for your feedback! It sounds like it might be helpful to connect you to one of our Office support agents.

×