Thanks it works
However for last line
sum({@a4},{AE_CASES.CASE_ID}) <> 0 then
{AE_REPORT_SOURCES.RPT_SOURCE_TYPE} = "S"
i was hoping I could display all of them not only "S"
so all of them except C,R,L
(so S,D,K,...., inclduing null)
How would I do that??
or should I just introduce more...