Someone told me before that in Oracle, there is a BEFORE TRIGGER event whereby we can do a test query to see if there are records before proceeding to the main query.
In BIRT, I want to try implementing this as a temporary measure. The test query is merely selecting one field and if the field returns no value, then I get 0.
Of course the query would be like SELECT NVL((SELECT A FROM TABLE

,0) FROM DUAL. If the value returns 0, then the actual query will not run.
I actually saw a method called Before Open(). But then there's not much of explanation in the Field Guide book I've read.
Is it actually possible to implement condition query in Before Open? Is there any example that I can base on to test it?