Table of contents
TOC
Collapse the table of content
Expand the table of content

SubForm.Report Property (Access)

office 365 dev account|Last Updated: 6/12/2017
|
1 Contributor

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

© 2018 Microsoft