TempVars.Add Method

Access Developer Reference

Adds a variable to the TempVars collection.

Version Information
 Version Added:  Access 2007

Syntax

expression.Add(Name, Value)

expression   A variable that represents a TempVars object.

Parameters

Name Required/Optional Data Type Description
Name Required String The name to use for the TempVar.
Value Required Variant The value to store as a TempVar. This value must be a string expression or a numeric expression. Setting this argument to an object data type will result in a run-time error.