Hi all, is there a possibility to call a subreport depending of the result of
a data-set? For example: IF Field!Rep!Value = "Subreport_A",Subreport_A,Subreport_B.
Or can Subreports only be hardcoded?
Thanks and best regards,
Rolandyou can show / hide subreports based on an expression. I am doing that with
mine. I have the visibility set to whether a particular field in the dataset
has a certain value or not. So if you put your subreports so they are in the
same physical space and show/hide based on an expression then I think that
should work. Good luck!
"Roland Müller" wrote:
> Hi all, is there a possibility to call a subreport depending of the result of
> a data-set? For example: IF Field!Rep!Value => "Subreport_A",Subreport_A,Subreport_B.
> Or can Subreports only be hardcoded?
> Thanks and best regards,
> Roland|||Hi,
thanks for your answer! I hope this will not slow the system because every
subreport has to be generated and then hiddend or made visible (depending on
the value of the field). Better would be only to render the subreport whose
name cames from the data set! But there is no chance to enter any expressions
in the subreport-name.field :-((
"MJT" wrote:
> you can show / hide subreports based on an expression. I am doing that with
> mine. I have the visibility set to whether a particular field in the dataset
> has a certain value or not. So if you put your subreports so they are in the
> same physical space and show/hide based on an expression then I think that
> should work. Good luck!
> "Roland Müller" wrote:
> > Hi all, is there a possibility to call a subreport depending of the result of
> > a data-set? For example: IF Field!Rep!Value => > "Subreport_A",Subreport_A,Subreport_B.
> > Or can Subreports only be hardcoded?
> >
> > Thanks and best regards,
> > Roland
Wednesday, February 15, 2012
Dynamic (datadriven) call of subreports
Labels:
call,
data-set,
database,
datadriven,
depending,
dynamic,
example,
fieldrepvalue,
microsoft,
mysql,
oracle,
possibility,
server,
sql,
subreport,
subreports
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment