How to Filter a Grid on the Selected Rows in a List Control
Argument arrays, combined with the SQL IN clause, are a powerful way to filter records shown in a Grid component.
A List Control with multi-select enabled can be used to filter a Grid component. Grid filters can include an IN clause. Using the special "array_" prefix, you can specify an array argument that can be used in a Grid filter with the IN clause. For example:
CustomerID IN (:array_customerid)
An array argument prefixed with "array_" must be populated with a crlf() delimited list of values.
When using an array argument in a SQL filter with the IN clause, you must enclose the argument in parentheses.
For more information, watch this video: