NextRecord Property [Access 2003 VBA Language Reference]
The NextRecord property specifies whether a section should advance to the next record. Read/write Boolean.
expression Required. An expression that returns one of the objects in the Applies To list.
The NextRecord property uses the following settings.
|True||(Default) The section advances to the next record.|
|False||The section doesn't advance to the next record.|
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
Applies to | Report Object