Skip to content

Latest commit

 

History

History
36 lines (21 loc) · 1.29 KB

Access.Report.OpenArgs.md

File metadata and controls

36 lines (21 loc) · 1.29 KB
title keywords f1_keywords api_name ms.assetid ms.date ms.localizationpriority
Report.OpenArgs property (Access)
vbaac10.chm13809
vbaac10.chm13809
Access.Report.OpenArgs
91dcbf42-6bb8-73e5-744c-de82d8668f9c
03/15/2019
medium

Report.OpenArgs property (Access)

Determines the string expression specified by the OpenArgs argument of the OpenReport method that opened a report. Read/write Variant.

Syntax

expression.OpenArgs

expression A variable that represents a Report object.

Remarks

This property is available only by using a macro or by using Visual Basic with the OpenReport method of the DoCmd object. This property setting is read-only in all views.

To use the OpenArgs property, open a report by using the OpenReport method of the DoCmd object, and set the OpenArgs argument to the desired string expression. The OpenArgs property setting can then be used in code for the report, such as in an Open event procedure.

You can also refer to the property setting in a macro, such as an Open macro, or an expression, such as an expression that sets the ControlSource property for a control on the form.

[!includeSupport and feedback]