Joined: 09 Feb 2014
Online Status: Offline
Posts: 2
Topic: Pass Parameters to Subreports from main Report. Posted: 12 Feb 2014 at 5:40am
i am working on crystal reports XI. there are two subreports in reports. i want to pass parameters to subreports using C#. any one can guide me . thanks in advance
Joined: 21 Dec 2007
Online Status: Offline
Posts: 4374
Posted: 12 Feb 2014 at 7:48am
I have never set parameters in a subreport from C#.
Are the subreports run only once, like in the report footer? If so, you should be able to drive down through the report object and set the parameters/connections/etc from c#.
If they are called multiple times (like once per group) you should link them to the main report in CR, otherwise the reports will all look the same.
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