Message 1 of 3
MultiValue.SetValueOptions

Not applicable
08-29-2017
01:18 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
Hi All
I am populating a multivalue list from an array and sometimes not all the values are new
I am using the SetValueOptions with index
The definition is as follows:
MultiValue.SetValueOptions(True, DefaultIndex := 0)
Forces the parameter to have a value which is in its multi-value list. If you then change the multi-value list, it also sets the current value of the parameter to one of the values in the list. This function does not change the value if it is found in the new list.
- DefaultIndex := 0
If the current parameter value is not in the new list, the parameter is set to the first value (Index 0) in the list.
Is it possible to force the value of the multivalue to always take the value of the index even though the value exists in the list?