Home > Contents > Index >
Template Tag TOC  |   Alpha TOC  |   Tag Family TOC  |   Purpose TOC  |   Annotated TOC  |   Index 

 

DELETEREVISION

Deletes a revision of a row from a tracked table.

Syntax

Parameters

TABLE (required)
Name of the table containing row whose revision is to be deleted.

ASSET (required)
Value of the primary key for the row whose revision is to be deleted.

VERSION (required)
Version of the row to delete. Values for VERSION_NUM are:

Description

The DELETEREVISION tag deletes a revision of a row from a tracked table. The current user must have rtadmin access to the tracked table to perform this operation. If the most recent revision is locked, deleting the most recent revision also deletes the lock on it.

errno

The possible values of errno include:

Value
Description
-1000
Command failure. Check the errdetail variable for the specific variable.

Example

This example assumes all DELETEREVISION parameters are exposed on an HTML form. It first checks whether the parameters exist, clears any values from errno, then deletes the revision.

See Also

RELEASE

  Home > Contents > Index >

FatWire XML Tag Reference
Copyright 2005,2006,2007 by FatWire Software
All rights reserved.