DIAdem Help

Property: ReturnType for QueryForm <DataFinder>

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

Property: ReturnType for QueryForm <DataFinder>

Specifies the search results type in a search in the interface of a DataFinder. Possible types are files (eSearchFile), channel groups (eSearchChannelGroup), and channels (eSearchChannel).

Object.ReturnType
ObjectQueryForm <DataFinder>
Object with this property
Object.ReturnTypeString with read and write access

Note  You only can use the ReturnType property in an Advanced Search.

Note  If you search for files, you can sort the properties by the file properties. If you search for groups, you can sort by the group properties and the file properties. If you search for channels, you can sort by all properties. If a wrong result type prevents the sorting, the DataFinder hides the increment and decrement arrow in the first column of the search results.

The following example displays the type of search results:

VBScriptPython

 

Dim oMyQueryForm
Set oMyQueryForm = Navigator.ConnectDataFinder("My DataFinder").LoadQuery(ConfReadPath & "Query_Example.tdq")
Call MsgBoxDisp(oMyQueryForm.ReturnType)

Log in to get a better experience