Table of contents
TOC
折叠目录
展开目录

Report.NextRecord 属性 (访问)Report.NextRecord Property (Access)

office 365 dev account|上次更新日期: 2018/3/13
|
2 参与人员

NextRecord属性指定节是否应前进到下一条记录。读/写boolean 类型的值The NextRecord property specifies whether a section should advance to the next record. Read/write Boolean.

语法Syntax

表达式NextRecordexpression. NextRecord

表达式_一个表示报表对象的变量。_expression A variable that represents a Report object.

注解Remarks

NextRecord属性使用以下设置。The NextRecord property uses the following settings.

设置Setting说明Description
TrueTrue(默认值)节进到下一条记录。(Default) The section advances to the next record.
FalseFalse节不进到下一条记录。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 在每一节的Format事件之前将此属性设置为TrueMicrosoft Access sets this property to True before each section's Format event.

示例Example

对于给定的报表,下面的示例将NextRecord属性设置为FalseThe 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