EmptyTrash @Command (Formula Language)

Deletes documents marked for deletion in a database and refreshes the view.

Note: This @command is new with Release 5.

Syntax

@Command( [EmptyTrash] )

Usage

This command permanently deletes any documents currently marked for deletion (use MoveToTrash @Command to mark documents for deletion).

You can use this command with Web applications. The View applet is also programmable via this @command.

Examples

This code, when added as the formula for the Delete action in a view, permanently deletes all the documents currently marked for deletion in the view.
@Command([EmptyTrash])