on 11-25-2013 3:10 PM
Hi All,
I have report with parameter and one of which accepts multiple values, is there a way to create a publication which will pass multiple values to the report?
Report is built joining tables from SQL server. (Do I have to modify the report, and pass the multiple values as comma separated string? or is there a way to pass multiple values to publication?)
We are using Dynamic list to pass the emails and parameters to the publication where the details are stored in the database table.
Thanks in advance!
Hi Santosh,
You just open the report in Crystal designer, In the "Field Explorer" change parameter option to "multiple".
Then the crystal report automatically allows multiple prompts in the publication...
Regards,
Naga.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
hi Santhosh,
if you need to create a comma separated output in crystal reports then you can create a string running total...
1) create a new Formula named "srt" with syntax like
whileprintingrecords;
stringvar srt:= srt + {yourtable.yourtextfield} + (if not onlastrecord then ',')
2) place this formula on your details section
3) create a new Formula named "srtfinal" that reads
whileprintingrecords;
stringvar srt
4) place this formula in your report footer
you should now be able to use the srtfinal formula in the publication personalization.
it's been a while since i did a publication, but i am assuming from your question that you can't map multiple field values to a mutliple value parameter.
i hope this helps,
jamie
hi Santhosh,
this may be best posted to the BI Platform question as you're dealing with the personalizing aspect of a publication.
before you repost there though you can try this:
1) if you're source report is grouped on a value that is passed to the target report, put in a reset formula on the group header
whileprintingrecords;
stringvar srt:= ''
2) move the srtfinal formula to the group footer
3) try to use the srtfinal final to personalize the publication between the source group and the target parameter
i don't have an enterprise product in front of me so i can't really help any further with this and it is as mentioned before a question that should be going to the bi platform forum.
-jw
User | Count |
---|---|
90 | |
10 | |
10 | |
10 | |
7 | |
7 | |
6 | |
5 | |
4 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.