Only fetch DataSources which are used
Posted: Thu Jul 15, 2010 8:52 am
Hi,
We want to give our users a template report with a lot of prepared DataSources.
The problem is, that while rendering the report every one of these DataSources has its sql statement executed even when the data's aren't used in the report.
Is there a way to restrict execution of the queries to those which are actually used in the report? This would really speed up the report generation.
I experimented a bit with the "Connect on Start" option, but when this option is false, no data at all was fetched.
We use our own Dataadapter derived from StiSqlAdapterService.
Yours sincerely
Damian
We want to give our users a template report with a lot of prepared DataSources.
The problem is, that while rendering the report every one of these DataSources has its sql statement executed even when the data's aren't used in the report.
Is there a way to restrict execution of the queries to those which are actually used in the report? This would really speed up the report generation.
I experimented a bit with the "Connect on Start" option, but when this option is false, no data at all was fetched.
We use our own Dataadapter derived from StiSqlAdapterService.
Yours sincerely
Damian