FetchRevisionByUid

<< Click to Display Table of Contents >>

Navigation:  Programming Mechworks PDM > DBWCommandShell > Commands Reference > Database >

FetchRevisionByUid

Description

Fetches a field value in a specified record or the REVISIONS table, given the unique id and the revision of the document.

Syntax

call DBWShell("FetchRevisionByUid DocUID Revision FieldName")

Parameters

DocUID

document unique id

Revision

document revision

FieldName

field name to fetch in the REVISIONS table of the DBWorks database

Remarks

Revision value must be of the supported format: spaces must be replaced with "|" character.

Example

revision = "This is my revision"

revision = replace(revision," ","|")
call DBWShell("FetchRevisionByUid 347 " & revision & " Description")
if (okDBW = False) then exit sub