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.

適用對象

Control 物件

Report 物件

SubForm 物件

SubReport 物件

您可以使用 Report 屬性參照報表或與子報表控制項關聯的報表。

expression.Report

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

備註

此屬性指的是報表物件。 在所有檢視中都是唯讀的。

您可以使用巨集或 Visual Basic 來使用此屬性。

這項屬性通常是用來參照子報表控制項中包含的報表。

附註: 當您使用 Reports 集合物件時,您必須指定報表的名稱。

範例

以下範例會使用 Report 屬性參照子報表上的控制項。

Dim curTotalSales As Currency
curTotalSales = Reports!Sales!Employees.Report!TotalSales

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!

×