Page 1 of 1

Suppress GroupHeader for master records without detail rows

Posted: Thu Feb 19, 2026 11:44 am
by melzer
I have a Master DataBand with a related Detail DataBand (linked via MasterComponent and DataRelation).
PrintIfDetailEmpty = false on the Master band works correctly — master records without details are not printed.

However, I also have a GroupHeaderBand above the Master band.
The GroupHeader is still printed even when the corresponding master record is suppressed because it has no detail records.

I tried using Conditions on the GroupHeader with expressions like:

Count(...) == 0
Totals.Count(...) == 0

but the values evaluated in Conditions seem to differ from the values shown when the same expressions are placed in text components.

Goal: suppress the GroupHeader when the master record has no related detail records.
Is there a recommended way to bind GroupHeader printing to the actual presence of detail records after PrintIfDetailEmpty is applied?

Re: Suppress GroupHeader for master records without detail rows

Posted: Thu Feb 19, 2026 9:14 pm
by Lech Kulikowski
Hello,

We need some time to investigate the issue, we will let you know about the result as soon as possible.

Thank you.
#19540