DIAdem Help

Collection: ElementsSelection <DataStore>

  • Updated2024-09-12
  • 1 minute(s) read

Collection: ElementsSelection <DataStore>

Collection of the rows selected in the search results of a data store.

Only read access.

The following example loads the selected elements from the search results list of the data store.

VBScriptPython

 

Dim oMyDataStore, oMyQueryForm, oMyConditions, oMySelectedElements, oMyResultsList
Set oMyDataStore = Navigator.Display.CurrDataStore
Set oMyQueryForm = oMyDataStore.QueryForm
Call oMyQueryForm.Conditions.RemoveAll()
Set oMyConditions = oMyQueryForm.Conditions
Call oMyConditions.Add("Test","Name","=","ETC")
Call oMyConditions.Add("Measurement","Name","=","DL")
oMyConditions.Logic = "C1 AND C2"
Call oMyQueryForm.Search()
Set oMyResultsList = oMyDataStore.ResultsList
Call WndShow("NAVIGATOR", "SHOW")
InterActionOn("Select one or more elements of the search results")
Call WndShow("SCRIPT", "SHOW")
Set oMySelectedElements = oMyDataStore.ResultsList.ElementsSelection
Call Navigator.LoadData(oMySelectedElements, "Load")

Properties

Count

Methods

IsKindOf | Item