CommandButton.Shape Property (Access) Reference
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.
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