Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » BIRT » Prevent query from running if table is hidden
Prevent query from running if table is hidden [message #633778] Tue, 19 October 2010 08:32 Go to next message
john mcteague is currently offline john mcteague
Messages: 15
Registered: July 2009
Junior Member
Ive got a simple requirement:

I have a table whose visibility is dependant on a parameter. When it is hidden I dont want the dataset that the table is bound to to be executed (the dataset is only bound to this one table).

When I run the report and put some simple logging into the on* methods of both the table and the dataset, I see

table.onPrepare
dataset.beforeOpen
dataset.afterOpen
dataset.onFetch
.....

so the query is clearly being executed even if the table is hidden

Can I prevent this unnecessary execution?

Im using BIRT 2.5.1.

Thanks

[Updated on: Tue, 19 October 2010 08:34]

Report message to a moderator

Re: Prevent query from running if table is hidden [message #633780 is a reply to message #633778] Tue, 19 October 2010 08:45 Go to previous message
john mcteague is currently offline john mcteague
Messages: 15
Registered: July 2009
Junior Member
Please ignore, I was being stupid, there was an error in my report.

Apologies.
Previous Topic:Using MS SQL JDBC with integrated security
Next Topic:Export in .doc without page breaks
Goto Forum:
  


Current Time: Wed Aug 20 10:42:04 EDT 2014

Powered by FUDForum. Page generated in 0.02386 seconds