Report Design
 Crystal Reports Forum : Crystal Reports 9 through 2022 : Report Design
Message Icon Topic: Sending an array of parameters to the sub-report. Post Reply Post New Topic
Author Message
karll
Newbie
Newbie


Joined: 25 Oct 2007
Online Status: Offline
Posts: 4
Quote karll Replybullet Topic: Sending an array of parameters to the sub-report.
    Posted: 25 Oct 2007 at 2:04am
Hi!

I’m using a report with a sub report to show the result on a web survey. The “main” report is used for making the selection (for instance: show only people that answers A on Q1 and C on Q2 ), and the sub-report should present the data. I would like the main report to generate an array of people and send them to the sub-report.

However, I have failed creating a shared array, and I cannot use an array in the sub-reports selection formula. If anyone got some tips here, please let me know.

 
Best Regards,

Karl

IP IP Logged
BrianBischof
Admin Group
Admin Group
Avatar

Joined: 09 Nov 2006
Online Status: Offline
Posts: 2458
Quote BrianBischof Replybullet Posted: 25 Oct 2007 at 11:31am
Can you tell us what you tried and why it failed? Did it give an error message or did it just not pass any data?
Please support the forum! Tell others by linking to it on your blog or website:<a href="http://www.crystalreportsbook.com/forum/">Crystal Reports Forum</a>
IP IP Logged
karll
Newbie
Newbie


Joined: 25 Oct 2007
Online Status: Offline
Posts: 4
Quote karll Replybullet Posted: 26 Oct 2007 at 1:27am
I tried to create a share array using:
shared Array arr;
But I got the error that Array is not a valid type name. Is it possible to create a shared array variable?

I also tried to return an array from a formula filed, and then link this field to the sub report. But returning arrays from formula fields was not allowed.

Thanks,
Karl
IP IP Logged
karll
Newbie
Newbie


Joined: 25 Oct 2007
Online Status: Offline
Posts: 4
Quote karll Replybullet Posted: 28 Nov 2007 at 11:52pm
If anyone google on this sometime in the future, this article helped me alot,
http://technicalsupport.businessobjects.com/KanisaSupportSite/search.do;jsessionid=9854DC046801B3ADC1658D3408EA8F69?cmd=displayKC&docType=kc&externalId=http--supportbusinessobjectscom-communityCS-TechnicalPapersNoNav-cr9chartingprinttimeformulaspdfasp&sliceId=&dialogID=2900837&stateId=1%200%202898842

B.R
Karl
IP IP Logged
Post Reply Post New Topic
Printable version Printable version

Forum Jump
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot delete your posts in this forum
You cannot edit your posts in this forum
You cannot create polls in this forum
You cannot vote in polls in this forum



This page was generated in 0.016 seconds.