visual studio - Pass a parameter from Main Report to a Subreport -
apologies these recent newbie questions, i'm not asking search engines correct questions.
i have report i'm trying reconstruct after upgrading vs2008 vs2010 introduced errors existing crystal report. so, have semi-working report i'm trying duplicate.
i have report containing subreports. main report has parameters in queries within "database fields" , need pass fields particular subreport's "parameter fields" can reference parameters in own queries.
so, question is: how create association between query result on main report , parameter on subreport?
for crystal reports visual studio 2010 - that's 1 works currently, isn't it?
when adding sub-report [or changing "change subreport links" existing report] can select parameter on subreport drop-down on bottom left of 'links' tab (or subreport links dialog, if editing existing subreport)
once you've selected field (or parameter) on left in 'available fields:' list, click > button move right , you'll see link options appear below. so field main report want use parameter subreport
underneath, on right select parameter (from subreport) wish link to. this parameter in subreport want use
does make sense.
maybe images help.
Comments
Post a Comment