Share via


Shape Property [Access 2003 VBA Language Reference]

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

expression.Shape

expression Required. An expression that returns one of the objects in the Applies To list.

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

Applies to | Report Object