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

 

LOCK

Locks a record for the current user in a tracked table.

Syntax

Parameters

TABLE (required)
Name of the tracked table.

ASSET (required)
Value of the primary key for the row to lock.

Description

The LOCK tag locks a record for the current user in a tracked table. Once a row is locked, the current user can modify fields in the row. The current user must have write access to the table.

errno

The possible values of errno include:

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

Example

This example assumes all LOCK parameters are exposed on an HTML form. It first checks whether the parameters exist, clears any values from errno, and then locks the row.

See Also

UNLOCKRECORD

  Home > Contents > Index >

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