|
<< Click to Display Table of Contents >> Navigation: Programming Mechworks PDM > DBWCommandShell > Commands Reference > Database > FetchRevisionByUid |
Fetches a field value in a specified record or the REVISIONS table, given the unique id and the revision of the document.
call DBWShell("FetchRevisionByUid DocUID Revision FieldName")
DocUID |
document unique id |
|---|---|
Revision |
document revision |
FieldName |
field name to fetch in the REVISIONS table of the DBWorks database |
Revision value must be of the supported format: spaces must be replaced with "|" character.
revision = "This is my revision"
revision = replace(revision," ","|")
call DBWShell("FetchRevisionByUid 347 " & revision & " Description")
if (okDBW = False) then exit sub