Report Design
 Crystal Reports Forum : Crystal Reports 9 through 2022 : Report Design
Message Icon Topic: Assigning a parameter to a parameter Post Reply Post New Topic
Author Message
kirandb
Groupie
Groupie
Avatar

Joined: 10 Jun 2009
Location: United States
Online Status: Offline
Posts: 69
Quote kirandb Replybullet Topic: Assigning a parameter to a parameter
    Posted: 28 Sep 2010 at 9:51am
Can we assign a parameter to a parameter in crystal. If so how can we do that.
 
Thanks,
Kiran
share your knowledge
IP IP Logged
DBlank
Moderator
Moderator


Joined: 19 Dec 2008
Online Status: Offline
Posts: 9053
Quote DBlank Replybullet Posted: 28 Sep 2010 at 9:59am
Not sure what you are trying to do...can you please explain more.
IP IP Logged
kirandb
Groupie
Groupie
Avatar

Joined: 10 Jun 2009
Location: United States
Online Status: Offline
Posts: 69
Quote kirandb Replybullet Posted: 28 Sep 2010 at 10:06am

I have a Stored Proc in my report. I also have a dynamic SQL. There is no way to map these two data sources. But the dynamic SQL requires one of the parameters that is neing used for Stored Proc. I am unable to assign the same parameter to both these datasources. So I created a new parameter and assigned the existing parameter used in Stored Proc.

I use the static parameter option for the new parameter and in the default value option passed {?existing param}. The report works but the result from the dynamic SQL is empty. When I hardcode the value to be passed, my SQL works. So not sure if this reassigning the param works.
 
Thanks,
Kiran
share your knowledge
IP IP Logged
DBlank
Moderator
Moderator


Joined: 19 Dec 2008
Online Status: Offline
Posts: 9053
Quote DBlank Replybullet Posted: 28 Sep 2010 at 11:51am
Sorry, not sure about this...
Anyone else?
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.031 seconds.