DBWInit

<< Click to Display Table of Contents >>

Navigation:  Programming Mechworks PDM > DBWCommandShell > Library Reference > PDMSystem >

DBWInit

Description

Initializes the library

Syntax

Function DBWInit(showMessages)

Parameter

showMessages

Boolean. If TRUE displays error messages in case of error

Return Values

TRUE

if succeeded

FALSE

otherwise

Remarks

It is necessary to call this function if you want to have direct access to the database fields or in general to the messages file in order to localize your script.

Example

if DBWInit(True) then ' initialization succeeded