sum the days field at the group
if the value = 0 then all rows have a 0, if it is >0 then at least one row has a value not=0
if sum(days,orderNo)=0 then 'Yes' else 'No'
this is a group condition and can be placed in the detail section to show a consistent value (yes or no) for all rows in the entire group
Edited by DBlank - 10 Dec 2014 at 6:21am