|Re: Redirecting BIRT Response to 404 [message #702016 is a reply to message #701991]
||Mon, 25 July 2011 21:12
| Jason Weathersby
Registered: July 2009
Drop the table that uses the dataset in the beforeFactory script. If no |
report item uses the data the query should not run. Name the table in
the general properties and drop it like:
On 7/25/2011 4:41 PM, paula.mcdowell wrote:
> This works great for forwarding to another page. Thank you, thank you.
> The problem is it's still executing the database query. I have a
> scripted datasource.
> I added a global variable as you suggested, and I check it in the
> initialize event of my report. At that point, if validRequest is false,
> I want to forward to the error page and stop the backed processing of
> the report.
> Is there anyway to stop the report from executing? I've noticed this
> thread,696694. I've tried to drop the datasource in the beforeOpen
> event, but this did not work. Database query was still executed.
> Thanks for all your help,
Powered by FUDForum
. Page generated in 0.02655 seconds