Is it possible to set your filter string to be an array? I want users to be able to select multiple "keywords" from a list. Then filter a master list based on whether or not the "keyword" column in the datawindow contains one of the selected keywords. I have created a routine that puts all the selected keywords into an array "is_keyword_filter[]".
ls_filter = "keywords in '" + is_keyword_filter + "'"
dw_list.setfilter(ls_filter)
This code won't compile as I get an "Illegal use of array in expression from the ls_filter line of code.
Thanks!
Rick
That breaks down if the data entered matches any portion of the string, not just an exact match of one of the items.
@Miguel...yes, you can use a global function inside the quotes for the filter string. The only thing to remember is that if you are not using that global function anywhere else in script (outside of quotes) you'll have to call that function inside an If statement that never executes to ensure that it gets included in the executable. Would be nice if you could include it in a resource file like you can with datawindows and images.