DIAdem-Hilfe

Method: CreateQuery for DataFinder

  • Aktualisiert2024-09-12
  • 2 Minute(n) Lesezeit

Method: CreateQuery for DataFinder

Generates in a DataFinder a query with the type transferred as a parameter. The query can be a quick search or an advanced search. Then you must fill the search query with values.

Set oQuery = Object.CreateQuery(Type)
ObjectDataFinder
Object with this method
TypeLongInteger
Specifies the type of query.
eTextQuery Quick search
eAdvancedQuery Advanced search
oQueryQuery <DataFinder>
Returned object

Note  Use QueryForm.Conditions.Add, to execute a search on the DIAdem NAVIGATOR interface.

The following example creates a quick search with the search text FindText:

VBScriptPython

 

Dim oMyDataFinder, oMyQuery
Set oMyDataFinder = NAVIGATOR.ConnectDataFinder("My DataFinder")
Set oMyQuery = oMyDataFinder.CreateQuery(eTextQuery)
oMyQuery.Text = "FindText"