|
<< Click to Display Table of Contents >> Navigation: Programming Mechworks PDM > DBWCommandShell > Library Reference > PDMSystem > DBWResult |
Retrieves from DBWorks the results of a previous command sent via DBWShell
Function DBWResult(ResultID)
ResultID |
Name of a result code, depending on the DBWShell function called previously. Every result code must begin with a '@' character. |
The function returns the requested value
After calling this function check the boolean value of the okDBW variable:
TRUE |
if succeeded in fetching the value |
|---|---|
FALSE |
otherwise |
Call this function to retrieve the results of a command sent to DBWorks via DBWShell. For the list of available results code refer to the DBWShell available commands.
call DBWShell( "Bom" )
if (okDBW = False) then exit sub
' after the bom, show the created excel file name
excelFile = DBWResult( "@EXCEL_FILE_PATH" )