IsPrimaryDatabaseChanged

<< Click to Display Table of Contents >>

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

IsPrimaryDatabaseChanged

available from build: 20071115

Description

This function checks if the main PDM application is using the default DOCUMENT, REVISIONS and PARENT_CHILD tables as primary tables.

Syntax

call DBWShell("IsPrimaryDatabaseChanged")

Results

@IS_PRIMARY_DATABASE_CHANGED

0: no changes
1: the PDM is not using the DOCUMENT, REVISIONS and PARENT_CHILD tables as primary tables

See also

ResetPrimaryDatabaseTables

SetPrimaryDatabaseTables