Home > Contents > Index >
CATALOGMANAGER.release
Releases a lock on a row from a tracked table using the
CATALOGMANAGER
command.Syntax
<CATALOGMANAGER> <ARGUMENT NAME="ftcmd" VALUE="release" /> <ARGUMENT NAME="tablename" VALUE="table" /> <ARGUMENT NAME="asset" VALUE="primarykey"/> </CATALOGMANAGER>Parameters
ftcmd (required)
- Value must be set to
release
.
tablename (required)
- Name of the tracked table.
asset (required)
- Value of the primary key for the row to lock.
Description
The
release
command releases a lock on a row from a tracked table. Only the user who has the row locked against the table can release it. This also reverts the row in the table to its last committed state, overwriting any changes the user made while the row was locked.errno
The possible values of
errno
include:
Value Description -103 No such table. -104 No table definition. -105 Database error.Example
This example releases the locked record whose primary key value is
95137
in the tablemovies
.<SETVAR NAME="errno" VALUE="0"/> <CATALOGMANAGER> <ARGUMENT NAME="ftcmd" VALUE="release"/> <ARGUMENT NAME="tablename" VALUE="movies"/> <ARGUMENT NAME="asset" VALUE="95137"/> </CATALOGMANAGER> <IF COND="IsError.Variables.errno=true"> <THEN> <!--Handle error--> </THEN> </IF>See Also
Home > Contents > Index > ![]()
FatWire XML Tag Reference
Copyright 2005 by FatWire Software
All rights reserved.