Shape Property

Microsoft Access Visual Basic

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