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 物件

PrintSection 屬性會指定是否應列印某區段。 讀/寫布林值

expression.PrintSection

運算式 必要。 傳回 [套用至] 清單中其中一個對象的表達式。

備註

PrintSection 屬性使用以下設定。

設定

描述

(預設) 要列印區段。

False

不列印區段。

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

Access會在每一個區段的 Format 事件之前,將此屬性設為 True

範例

下列範例不會列印 "Product Summary" 報表的 "PageHeaderSection" 區段。

Private Sub PageHeaderSection_Format _
    (Cancel As Integer, FormatCount As Integer)
    Reports("Product Summary").PrintSection = False
End Sub

Need more help?

Want more options?

探索訂閱權益、瀏覽訓練課程、瞭解如何保護您的裝置等等。

社群可協助您詢問並回答問題、提供意見反應,以及聆聽來自具有豐富知識的專家意見。

Was this information helpful?

How satisfied are you with the translation quality?
What affected your experience?
By pressing submit, your feedback will be used to improve Microsoft products and services. Your IT admin will be able to collect this data. Privacy Statement.

Thank you for your feedback!

×