RadRodriguez
Programmer
Hi all,
I have a sub-report that is passed a string of values from a main report as a parameter. The sub has a function called {@SelectMPs} that splits the string into its components (it's an array delimeted by commas). Each component is a string. I need to pass these strings to the report selection criteria.
I can get the process to work when I pass only one value to the Report Selection formula like: Right({Plan_.Plan Code},8) = [{@SelectMPs}]. However, the report needs to have multiple values in the {@SelectMPs} formula.
I have tried every way to build the string, with single quotes, double quotes, adding commas in between members and everytime the report fails to return any records.
I have tried including {@SelectMPs} in the group header and footer but neither makes a difference. I can confirm that the value of {@SelectMPs} is formatted as it should be. I have hard coded the same value into the Report Selection formula and I get the data I expect.
Any suggestions are greatly appreciated!
I have a sub-report that is passed a string of values from a main report as a parameter. The sub has a function called {@SelectMPs} that splits the string into its components (it's an array delimeted by commas). Each component is a string. I need to pass these strings to the report selection criteria.
I can get the process to work when I pass only one value to the Report Selection formula like: Right({Plan_.Plan Code},8) = [{@SelectMPs}]. However, the report needs to have multiple values in the {@SelectMPs} formula.
I have tried every way to build the string, with single quotes, double quotes, adding commas in between members and everytime the report fails to return any records.
I have tried including {@SelectMPs} in the group header and footer but neither makes a difference. I can confirm that the value of {@SelectMPs} is formatted as it should be. I have hard coded the same value into the Report Selection formula and I get the data I expect.
Any suggestions are greatly appreciated!