Applies ToAccess for Microsoft 365 Access 2021 Access 2019 Access 2016 Access 2013

Applies to

Control Object

Report Object

SubForm Object

SubReport Object

You can use the Report property to refer to a report or to refer to the report associated with a subreport control.

expression.Report

expression Required. An expression that returns one of the objects in the Applies To list.

Remarks

This property refers to a report object. It is read-only in all views.

You can use this property by using a macro or Visual Basic.

This property is typically used to refer to the report contained in a subreport control.

Note: When you use the Reports collection, you must specify the name of the report.

Example

The following example uses the Report property to refer to a control on a subreport.

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

Need more help?

Want more options?

Explore subscription benefits, browse training courses, learn how to secure your device, and more.

Communities help you ask and answer questions, give feedback, and hear from experts with rich knowledge.