DIAdem Help

Property: ValueMaxCount for QueryForm <DataFinder>

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

Property: ValueMaxCount for QueryForm <DataFinder>

Specifies the maximum number of indexed values that DIAdem displays in the search input area of a DataFinder.

Object.ValueMaxCount
ObjectQueryForm <DataFinder>
Object with this property
Object.ValueMaxCountLongInteger with read and write access

Note  If you change the ValueMaxCount length, the change is not effective until you refresh the list with the GetValueList method.
Note  You can use the IsIncomplete property to determine whether the list of indexed values is complete.

The following example creates a list of all the indexed filename properties. When the list is complete, the example increases the maximum length of the list:

VBScriptPython

 

Dim IndexedFileProperties, IndexedProperty, ValueList, ValueListCount
Set IndexedFileProperties = Navigator.Display.CurrDataFinder.QueryForm.GetIndexedProperties(eSearchFile)
Set IndexedProperty = IndexedFileProperties.Item("fileName") 
Set ValueList = IndexedProperty.GetValueList
If ValueList.IsIncomplete Then
   Set ValueListCount = Navigator.Display.CurrDataFinder.QueryForm
   ValueListCount.ValueMaxCount = ValueListCount.ValueMaxCount + 200
   Call MsgBoxDisp(ValueList.Count)
   Set ValueList = IndexedProperty.GetValueList
End If

Log in to get a better experience