Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All

TempVars Collection

Office 2007
Represents the collection of TempVar objects.

Version Information
 Version Added:  Access 2007


Use the Add method or the SetTempVar macro action to create a TempVar object.

Use the Remove method or the RemoveTempVar macro action to delete a TempVar object from the TempVars collection.

Use the RemoveAll method or RemoveAllTempVars macro action to delete all TempVar objects from the TempVars collection.

The TempVars collection can store up to 255 TempVar objects. If you do not remove a TempVar object, it will remain in memory until you close the database. It is a good practice to remove TempVar object variables when you are finished using them.

To refer to a TempVar object in a collection by its ordinal number or by its Name property setting, use the following syntax form:


Community Additions

© 2015 Microsoft