SubForm.Report Property (Access)

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

Syntax

expression .Report

expression A variable that represents a SubForm object.

Remarks

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 Currency 
 
curTotalSales = Reports!Sales!Employees.Report!TotalSales

See Also

Concepts

SubForm Object

SubForm Object Members