Fetch

<< Click to Display Table of Contents >>

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

Fetch

Description

Fetches a field value in a specified record, given the document id and type.

Syntax

call DBWShell("Fetch DocID DocType FieldName")

Parameters

DocID

document id

DocType

document type ("A" for assembly, "P" for part, ...)

FieldName

field name to fetch in the DBWorks database

Example

call DBWShell( "Fetch Handle|Bar A Description" )

if (okDBW = False) then exit sub