Report Design
 Crystal Reports Forum : Crystal Reports 9 through 2022 : Report Design
Message Icon Topic: passing formula field and parameter to subreport Post Reply Post New Topic
Author Message
radheshyam
Newbie
Newbie


Joined: 01 Oct 2011
Online Status: Offline
Posts: 7
Quote radheshyam Replybullet Topic: passing formula field and parameter to subreport
     Posted: 24 Nov 2011 at 12:20pm
how to pass formula field and parameter from main report to subreport?
is it ok if i create a parameter in subreport and link it with the main report and writing the formula field again in subreport using that parameter?
 
 
IP IP Logged
lockwelle
Moderator
Moderator


Joined: 21 Dec 2007
Online Status: Offline
Posts: 4374
Quote lockwelle Replybullet Posted: 28 Nov 2011 at 5:41am
you can pass the parameter via the linking to the subreport.
you can pass the output of the formula via a shared variable(have the formula in the main report run before the call to the subreport so that shared variable is correct) then just access the shared variable in the subreport.
 
at least that is what I would do.
 
HTH
IP IP Logged
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