Property: ValueMaxCount for QueryForm <DataFinder>

DIAdem 2018 Help

Edition Date: June 2018
Part Number: 370858P-01
View Product Info

DOWNLOAD (Windows Only)

DIAdem 2017 Help
DIAdem 2018 Help
DIAdem 2019 Help
DIAdem 2020 Help
DIAdem 2020 SP1 Help

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

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:

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


Not Helpful