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

Report.OpenArgs Property (Access)

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

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


expression. OpenArgs

expression A variable that represents a Report object.


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.

See also


Report Object

© 2018 Microsoft