Hello,
I need to do a filter (after the database query has run). The formula field is a comma delimited string that I want to filter against a parameter array.
The selection formula below fails with "This array must be subscripted. For example: Array."
This tells me the left side of the IN needs to be a single string value to compare IN the {?dbSUB_ICD9} array.
However, I need to filter for each row in the report where any of that row's {@FILTER_Products} comma delimited field values match at least one of the {?dbSUB_ICD9} array values.
In other words, this would sort of mimic a SQL EXISTS statement but at the crystal (not SQL) level with array against array.
Can this be done in the Record Selection area?
I need to do a filter (after the database query has run). The formula field is a comma delimited string that I want to filter against a parameter array.
The selection formula below fails with "This array must be subscripted. For example: Array."
Code:
AND SPLIT({@FILTER_Products},",") IN({?dbSUB_ICD9})
However, I need to filter for each row in the report where any of that row's {@FILTER_Products} comma delimited field values match at least one of the {?dbSUB_ICD9} array values.
In other words, this would sort of mimic a SQL EXISTS statement but at the crystal (not SQL) level with array against array.
Can this be done in the Record Selection area?