Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Archived » BIRT » Prevent query from running if table is hidden
Prevent query from running if table is hidden [message #633778] Tue, 19 October 2010 12:32 Go to next message
john mcteague is currently offline john mcteagueFriend
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 12: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 12:45 Go to previous message
john mcteague is currently offline john mcteagueFriend
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: Thu Apr 25 01:06:03 GMT 2024

Powered by FUDForum. Page generated in 0.02745 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top