Report.Shape property (Access)

Returns a String representing the shape command corresponding to the sorting and grouping of the specified report. Read-only.

Syntax

expression.Shape

expression A variable that represents a Report object.

Property value

STRING

Remarks

Analyzing the shape command for a particular report can make it easier to create ADO recordsets that can be used with the report.

Example

The following example reads the shape command of the specified report and stores it to a string variable.

Dim strShape As String 
 
strShape = Reports(0).Shape

Support and feedback

Have questions or feedback about Office VBA or this documentation? Please see Office VBA support and feedback for guidance about the ways you can receive support and provide feedback.