Sign in with Microsoft
Sign in or create an account.
Hello,
Select a different account.
You have multiple accounts
Choose the account you want to sign in with.

適用對象

Report 物件

NextRecord 屬性可指定下一個資料列之前是否應該有一個區段。 讀/寫布林值

expression.NextRecord

表達 必要。 一個運算式,該運算式會返回應用程式至清單中的其中一個物件。

備註

NextRecord 屬性使用下列設定。

設定

描述

(預設) 區段在下一個資料列之前。

False

區段不在下一個資料列之前。

若要設定此屬性,請為區段的 OnFormat 屬性指定巨集或事件程序。

Microsoft Office Access 2007 會在每個區段的 Format 事件之前將此屬性設定為 True

範例

以下範例針對指定的報表將其 NextRecord 屬性設定為 False

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

Need more help?

擴展您的技能

探索訓練 >

優先取得新功能

加入 MICROSOFT 365 測試人員 >

Was this information helpful?

How satisfied are you with the translation quality?
What affected your experience?

Thank you for your feedback!

×