|
<< Click to Display Table of Contents >> Navigation: Programming Mechworks PDM > DBWCommandShell > Library Reference > Selection > DBWSelectFromComposedOf |
It shows a dialog that allows to select documents from a list, given a parent document and a criteria to choose children between.
Function DBWSelectFromComposedOf(DocUid, ComposedOfType, Title)
DocUid |
unique id of the document to find children of. |
|---|---|
ComposedOfType |
filter to select only some type of document. for every type of doc:<commas><commas> for a single type of doc: <commas><apostrophe>+ type to find+<apostrophe><commas> for multiple type of doc: ... <commas> |
Title |
title of the dialog shown |

The function assumes the value of the unique id of the selected document.
Sub main()
DBWInit(TRUE)
Dim chosenDocID
DocUid = 468
ComposedOfType = ""
title = "Choose your document"
chosenDocID = DBWSelectFromComposedOf(DocUid,ComposedOfType,title)
msgbox "You chose: " & chosenDocID
End Sub