Home > Contents > Index >
RETRIEVEREVISION
Retrieves a specific version of a tracked record.
Syntax
<RETRIEVEREVISION TABLE="TABLE_NAME" ASSET="PRIMARY_KEY" VERSION="VERSION_NUM" LIST="LIST_VAL"/>Parameters
TABLE (required)- Name of the table containing row to retrieve the version from.
ASSET (required- The value of the primary key for the record.
VERSION (required)- The version number.
LIST (required)- The name of the Query object to create.
Error Numbers
The possible values of
errnoinclude:
Value Description -1000 Command failure. Check theerrdetailvariable for the specific error.Example
<SETVAR NAME="errno" VALUE="0"/> <RETRIEVEREVISION TABLE="movies" ASSET="id" VERSION="3" LIST="rev5"/> <IF COND="IsError.Variables.errno=true"> <THEN> <!--Handle error--> </THEN> </IF>
Home > Contents > Index > ![]()
FatWire XML Tag Reference
Copyright 2005 - 2011 by FatWire Corporation
All rights reserved.