Hello,
I’ve studied the article, but I do meet a issue.
I write a sub report, and want the sub report be displayed only when it is having count(lines)>0
![](https://uploads-us-west-2.insided.com/acumatica-en/attachment/289c153b-c48c-4ab7-8cab-fb4687145e42.png)
Per my test, only when the subreport be trigger at least once, will the
subReport1_Count having value.
![](https://uploads-us-west-2.insided.com/acumatica-en/attachment/3db59074-5dea-4ae5-a820-29c8c96259ad.png)
Like below
![](https://uploads-us-west-2.insided.com/acumatica-en/attachment/50f4dbae-e623-4673-bb9f-d3e86c2506ba.png)