ridhirao22
Programmer
Using CR 2008 and Oracle 10.
I am using a command object( Sql query) for the rpt and checking for a single state in the where clause for a give date range. Now I need to be able to run the report for All states or a state. I removed the hardcode state and in the report created a parameter with default as 'All'. Report has slowed down a lot after this. Can we use this logic in command object?
(if ?state ='All' then true else
tbl.state = ?state)
Report has a on demand subreport with ?dates and ?state linking to main report.
Please advice, how I could improve rpt performance.
Thanks,
RR
I am using a command object( Sql query) for the rpt and checking for a single state in the where clause for a give date range. Now I need to be able to run the report for All states or a state. I removed the hardcode state and in the report created a parameter with default as 'All'. Report has slowed down a lot after this. Can we use this logic in command object?
(if ?state ='All' then true else
tbl.state = ?state)
Report has a on demand subreport with ?dates and ?state linking to main report.
Please advice, how I could improve rpt performance.
Thanks,
RR