SetField macro action

Applies to: Access 2013, Office 2013

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

Note

The SetField action is available only in Data Macros.

Setting

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.

Remarks

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