Edit

Share via


SetVariable Macro Action (Access custom web app)

You can use the SetVariable action to create a temporary variable and set it to a specific value. The variable can then be used as a condition or argument in subsequent actions, or you can use the variable in another user interface (UI) macro.

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.

Setting

The SetVariable action has the following arguments.

Action argument Description
Variable
Enter the name of the temporary variable.
Value =
Enter 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 Formula to use the Expression Builder to set this argument.