Do not input private or sensitive data. View Qlik Privacy & Cookie Policy.
Skip to main content

Announcements
ALERT: QlikView server communication interruptions following Microsoft Windows Domain Controller security updates
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

Field.SearchFor() finds values which are deleted with DynamicUpdateCommand

Hi,

I have a field, where I add and remove values with the DynamicUpdateCommand. With the method of the field "searchFor" I check if a value already exists in a field. But when I delete values with the DynamicUpdateCommand from the field, the searchFor method still gives me that the value is present. Using a Listbox I checked but it seems that the DynamicUpdateCommand(Delete) worked. Does anybody know a solution?

Evereything looks like the DynamicUpdateCommand worked, therefore no errorMessage and the values disappears in listbox, but the searchFor finds the value

Labels (1)
1 Reply
Not applicable
Author

Could I use the following 3 methods instead of the searchFor, which doesn't work for looking if there is a value contained in a field

ActiveDocument.fields("ChartName").GetPossibleValues
ActiveDocument.fields("ChartName").GetExcludedValues
ActiveDocument.fields("ChartName").GetSelectedValues

Does it satisfy for checking if a value is contained independently from the selections?