hi guys<br />
<br />
my report design cotains a list (using dataset1) and in this list a table (using dataset2). i want to hide the table if the list exceedes a specific number of records.<br />
<br />
my intention is to prevent generation of huge reports which might end in a out-of-memory exception. i want to stop the generation as well if it would take too much time to generate.<br />
<br />
1) i defined a global variable "<span style='font-family: Courier New'>limitIsExceeded</span>" and set it to false in the report's initialize script<br />
2) i created a aggregated count variable in the list's binding which gives me the total number of records for dataset1<br />
3) "<span style='font-family: Courier New'>limitIsExceeded</span>" is set properly in the list's script if the numer of records exceeds my limit<br />
4) on the tables visibility property i activated hide[x] and i'm using the following expression: "<span style='font-family: Courier New'>if ( limitIsExceeded ) { true } else { false }</span>"<br />
<br />
if <span style='font-family: Courier New'>limitIsExceeded</span> is true the table is hidden as expected. but the problem is, the table is "processed" though. i.e. the generation is not stopped at the point the table's visibility condition matches. i used the logger to print out some info so i am sure the table is not omitted and still "built". <br />
<br />
can anyone tell me what i'm doing wrong?<br />
<br />
regards<br />
bartek <br />
<br />
PS. i searched for solutions and found this <a class='bbc_url' href='
http://www.birt-exchange.org/org/forum/index.php/topic/24253-hide-outer-tables-row-based-on-variable-set-by-sub-table/page__hl__hide__fromsearch__1'>link1</a> and this <a class='bbc_url' href='
http://www.birt-exchange.org/org/forum/index.php/topic/24253-hide-outer-tables-row-based-on-variable-set-by-sub-table/page__hl__hide__fromsearch__1'>link2</a> but i did not found any hints.