Hypermommy
Programmer
Hi all,
I'm using Crystal Reports 9. I have a parameter {?Type} into which users can select multiple values. I *think* Crystal views this as an array once they select their types (right?). I would like to list all types selected at the bottom of the report. I'm guessing I need to include a formula that would do the following:
strTypeListing
for each element in array
strTypeListing = strTypeListing + thisElement + chr(13)
next
But I don't know how to cycle through the array and I don't know if chr(13) is going to be valid to put a carriagereturn/linefeed in the string.
How can I do this? Thanks.
Oh, and one more question.... if the {?Type} parameter is an array, does it get passed to a SQL Server stored procedure as such? Then the SP could break it out and use the elements in it?
Thanks.
-= Hypermommy =-
I'm using Crystal Reports 9. I have a parameter {?Type} into which users can select multiple values. I *think* Crystal views this as an array once they select their types (right?). I would like to list all types selected at the bottom of the report. I'm guessing I need to include a formula that would do the following:
strTypeListing
for each element in array
strTypeListing = strTypeListing + thisElement + chr(13)
next
But I don't know how to cycle through the array and I don't know if chr(13) is going to be valid to put a carriagereturn/linefeed in the string.
How can I do this? Thanks.
Oh, and one more question.... if the {?Type} parameter is an array, does it get passed to a SQL Server stored procedure as such? Then the SP could break it out and use the elements in it?
Thanks.
-= Hypermommy =-