SetLocalVar Macro Action (Access custom web app)

Office 2013 and later

The SetLocalVar action creates a temporary variable and set it to a specific value.

Last modified: March 09, 2015

Applies to: Access 2013 | Access 2016

Important note Important

Microsoft no longer recommends creating and using Access web apps in SharePoint. As an alternative, consider using Microsoft PowerApps to build no-code business solutions for the web and mobile devices.

Note Note

The SetLocalVar action is available only in Data Macros.

The SetLocalVar action has the following arguments.

Argument name

Required

Description

Name

Yes

A string that specifies the name of the variable.

Expression

Yes

An expression that will be used to set the value for this temporary variable. Do not precede the expression with the equal sign (=). You can click the Build button to use the Expression Builder to set this argument.

Show: