|
<< Click to Display Table of Contents >> Navigation: Programming Mechworks PDM > DBWCommandShell > Commands Reference > Database > DeleteAllChildren |
Deletes in the PARENT_CHILD table all the children of the assigned parent document unique identifier.
call DBWShell("DeleteAllChildren ParentUID")
ParentUID |
unique id of the document of which the children are to be deleted |
Be careful because this operation is not undoable and can corrupt the database if not properly used.
Sub Main()
DBWInit(True)
DBWShell("DeleteAllChildren 110")
End Sub