Class ReturnVars (Access VBA)

The class ReturnVars represents the collection of ReturnVar objects. To use a ReturnVars class variable it first needs to be instantiated, for example

Count

Gets the number of ReturnVar objects in the ReturnVars collection.


ReturnVars.Count

Item

The Item property returns a specific member of a collection either by position or by index.

Item (Index)

Index: An expression that specifies the position of a member of the collection referred to by the expression argument. If a numeric expression, the Index argument must be a number from 0 to the value of the collection's Count property minus 1. If a string expression, the Index argument must be the name of a member of the collection.


ReturnVars(Index:=1)