DeleteAllChildren

<< Click to Display Table of Contents >>

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

DeleteAllChildren

Description

Deletes in the PARENT_CHILD table all the children of the assigned parent document unique identifier.

Syntax

call DBWShell("DeleteAllChildren ParentUID")

Parameters

ParentUID

unique id of the document of which the children are to be deleted

Remarks

warningBe careful because this operation is not undoable and can corrupt the database if not properly used.

Example

Sub Main()

 DBWInit(True)
 DBWShell("DeleteAllChildren 110")
End Sub