porsche2k7
Programmer
Hi All,
I have a parameter with multiple values called First_Name with values like: John, Mike, Paul).Crystal treats the multiple values parameter as an array. I need a formula to join these to a string like: 'John','Mike','Paul' .
I plan to use this string as a parameter within a sub report to obtain distinct count of Sessions for these first names. Something like : Select count(distinct Sessions) from table.name where Column_FirstName in {?First_Name}
I could use join function in the main report and split function in the sub report, however due to distinct counts & better performance, I intend to use the SQL command. Please suggest.
I have a parameter with multiple values called First_Name with values like: John, Mike, Paul).Crystal treats the multiple values parameter as an array. I need a formula to join these to a string like: 'John','Mike','Paul' .
I plan to use this string as a parameter within a sub report to obtain distinct count of Sessions for these first names. Something like : Select count(distinct Sessions) from table.name where Column_FirstName in {?First_Name}
I could use join function in the main report and split function in the sub report, however due to distinct counts & better performance, I intend to use the SQL command. Please suggest.