Class ReturnVar (Access VBA)

The class ReturnVar represents a variable that was initialized by the SetReturnVar function in a Data Macro. To use a ReturnVar class variable it first needs to be instantiated, for example

Name

Gets the name of the specified ReturnVar.


ReturnVars(1).Name

Value

Gets the value of the specified ReturnVar variant. Read-only Variant.

A ReturnVar can store only numeric or text data. Setting the Value property to an Object data type will result in a run-time error.


ReturnVars(1).Value