Edit

Share via


DeleteRecord Data Macro action (Access custom web app)

You can use the DeleteRecord action to delete a record.

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 DeleteRecord action 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.

Remarks

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]