but the question is not this
the question is:
how to create 1 PDF from 2 reports.
this mean that the dev. want to keep 2 reports, but want also to produce 1
PDF based on these 2 reports. 2 different needs.
> Jeje,
>
> Perhaps I was unclear:
> DELETE the second report.
> Only use 1 report in which there are 2 tables using 2 differnt datasets
> - 2 differnt datasets NOT 2 different REPORTS.
Sorcerdon - 29 Dec 2005 15:32 GMT
Jeje,
In this case I would concur with Potter's idea of making one report
into a sub repor and placing it in the first report.
I just gave another alternative.
regards,
Stas K.
Jéjé - 29 Dec 2005 15:54 GMT
good point.
a new parameter to ask the user if he want to display or hide this subreport
will be usefull.
> Jeje,
>
[quoted text clipped - 5 lines]
>
> Stas K.
AN - 30 Dec 2005 03:26 GMT
Thanks for the replies...but what i have right now is something similar
to what Sorcerdon has mentioned. i.e. there is a report with around 10
tables and datasets for each of them. i have report parameters that
decide to display the tables or not. there is a UI application which
calls the Render method when the user wants to generate a report. the
output is in PDF format. but report rendering takes a long time. so was
thinking of an alternative. i.e. having 2 reports and rendering each
report based on user parameters. but then would it be possible to
append the byte arrays. i realised that its not possible to append byte
arrays when they are of PDF format. any solution to this??? I think
subreport would be a good option. let me try that out and see the
rendering speed.
Potter - 30 Dec 2005 17:49 GMT
Mr. AN,
Another perhaps more complex, but high performance solution would be to
assemble your RDL based on user selection.
You could have 10 snippets of RDL, one for each table. If a user wants
4 of the 10 tables, put the RDL snippet for those 4 tables in the main
RDL and submit it to the report server.
This would you prevent any unnecessary querying. There are a few
samples out there for generating RDL.
Andy Potter