DeleteRecord Macro Action

Office 2013 and later

Last modified: July 28, 2015

Applies to: Access 2013 | Office 2013

You can use the DeleteRecord action to delete a record.

The CreateRecord data block has the following arguments.

Argument

Description

Record Alias

A string that identifies the record to delete. If the Alias argument is not specified, then the current record is deleted.

You can use the LastCreateRecordIdentity local variable to work with last record created in a CreateRecord data block. For example, use the following syntax to refer to the most recently created record:

[LastCreateRecordIdentity]
Show: