Prevent query from running if table is hidden [message #633778] |
Tue, 19 October 2010 12:32 |
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 12:34] Report message to a moderator
|
|
|
|
Powered by
FUDForum. Page generated in 0.02745 seconds