AndSelectQueryByUniqueId

<< Click to Display Table of Contents >>

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

AndSelectQueryByUniqueId

Description

Permits to create a multiple selection in the Query Page.

Syntax

call DBWShell("AndSelectQueryByUniqueId UniqueID")

Parameters

UniqueID

unique id of the document to select together with other ones.

Remarks

It must be preceeded by a SelectQueryByUniqueId command, in order to start the selection.

See also

SelectQueryByUniqueId command
 
SelectByUniqueId command
SelectTreeByUniqueId command

Example

Sub main()

 DBWInit(True)
 DBWShell("LoadQuery e:\test\myquery.sql")  'Load file containing my queries
 DBWShell("SelectQueryByUniqueId 1871")
 DBWShell("AndSelectQueryByUniqueId 3633")
 DBWShell("AndSelectQueryByUniqueId 3639")
 DBWShell("AndSelectQueryByUniqueId 1874")
End Sub