- Rick Domogalik
- PowerBuilder
- Friday, 20 May 2022 02:47 PM UTC
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
Find Questions by Tag
Helpful?
If a reply or comment is helpful for you, please don’t hesitate to click the Helpful button. This action is further confirmation of their invaluable contribution to the Appeon Community.