Table of contents
TOC
Collapse the table of content
Expand the table of content

TempVars Object (Access)

office 365 dev account|Last Updated: 4/3/2018
|
3 Contributors

Represents the collection of TempVar objects.

Remarks

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

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

Use the RemoveAll method orRemoveAllTempVars 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:

  • TempVar ![name]

Methods

Name
Add
Remove
RemoveAll

Properties

Name
Application
Count
Item
Parent

See also

Other resources

Access Object Model ReferenceTempVars Object Members

© 2018 Microsoft