SetField Macro Action

Office 2013 and later

Last modified: July 28, 2015

Applies to: Access 2013 | Office 2013

The SetField action can be used to assign a value to a field.

Note Note

The SetField action is available only in Data Macros.

The SetField action has the arguments listed in the following table.

Argument

Description

Name

A string that identifies the field.

Value

An expression that specifies the value to assign to the field.

The SetField action cannot be used outside of an CreateRecord or EditRecord data block.

Show: