In a report, I have 2 queries, let's say the 2nd one is the detail of the 1st one. Except that not all the entries of query1 will have detail in query2.
So I have my group header that groups according to a field in query1, and then I would like to treat separately the 2 types of entries.
If "field1" is empty in query1 -> I show some databands.
if field1 is not empty -> I show some others, containing query2 (the details)
I've tried different things, like
-moving the databands,
-putting a afterprint condition in the GroupHeaderBand that plays with databand...enabled=true/false depending on if field1 is empty or not
But can't managed to have what I want...
DataBand 3 and 6 are indeed printed when field1=0, but the other ones are not printed when field1!=0
Thanks for your help.
Here is the link to the report and here is what I want to do: