Export (0) Print
Expand All
Expand Minimize

CommandButton.Shape Property (Access) Reference

Office 2010

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

expression .Shape

expression A variable that represents a Report object.

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

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
© 2014 Microsoft