Method: CreateElementList for DataFinder

DIAdem 2018ヘルプ

発行年月: 2018年6月
製品番号: 370858P-0112

ダウンロード (Windowsのみ)

DIAdem 2017 ヘルプ
DIAdem 2018 ヘルプ
DIAdem 2019 ヘルプ
DIAdem 2020 ヘルプ
DIAdem 2020 SP1 ヘルプ

Creates in the object-oriented script interface of DIAdem NAVIGATOR a collection of DataFinder elements. Each element in the created collection is an Element <DataFinder>>.

Set oFreeElementList = Object.CreateElementList
Object with this method
oFreeElementListFreeElementList <DataFinder>
Returned object

The following example creates an elements list, executes a search, adds the search results to the elements list, and displays the number of elements in the list:

Dim oMyDataFinder, oMyElementList, oMyQuery, oMyResults
Set oMyDataFinder = Navigator.ConnectDataFinder("My DataFinder")
Set oMyQuery = oMyDataFinder.LoadQuery(ConfReadPath & "Query_Example.tdq")
Call oMyDataFinder.SearchElements(oMyQuery)
Set oMyResults = oMyDataFinder.ResultsElements
Set oMyElementList = oMyDataFinder.CreateElementList
Call oMyElementList.AddElementList(oMyResults)
Call MsgBoxDisp(oMyElementList.Count)