One way to do this...<br>First, create a group by Name<br>In the Header section of the Name Group, put a formula like<br>WhilePrintingRecords ;<br>BooleanVar HasMedical := False;<br>BooleanVar HasDental False;<br><br>In the detail section, put a formula like<br>WhilePrintingRecords ;<br>BooleanVar HasMedical ;<br>BooleanVar HasDental ;<br>If {Plan} = 'Medical' then<br> HasMedical := True<br>Else If {Plan} = 'Dental' then<br> HasMedical := True<br>Else<br> False<br><br>In the Footer section of the Name group, put a formula like<br>WhilePrintingRecords ;<br>BooleanVar HasMedical ;<br>BooleanVar HasDental ;<br>NumberVar MedicalCount ;<br>NumberVar DentalCount ;<br>NumberVar BothCount ;<br>If HasMedical and HasDental then<br> BothCount := BothCount + 1<br>Else If HasMedical then<br> MedicalCount := MedicalCount + 1<br>Else If HasDental then<br> DentalCount := DentalCount + 1<br>Else<br> 0<br><br>In the Report footer, put a formula like the following, which is more complex because of the subject of the verb in the text can be either singular or plural, and hey - we can't have subject verb errors in the report, can we. (The truth is I'm avoiding doing my quarterly tax return I guess)<br>WhilePrintingRecords ;<br>NumberVar MedicalCount ;<br>NumberVar DentalCount ;<br>NumberVar BothCount ;<br>StringVar PlanSummary ;<br>If MedicalCount = 1 then<br> PlanSummary := '1 has medical, '<br>Else<br> PlanSummary := ToText(MedicalCount,0) + ' have medical, ' ;<br>If DentalCount = 1 then<br> PlanSummary := PlanSummary + '1 has dental, '<br>Else<br> PlanSummary := PlanSummary + ToText(DentalCount,0) + ' have dental, ' ;<br>If BothCount = 1 then<br> PlanSummary := PlanSummary + '1 has both.'<br>Else<br> PlanSummary := PlanSummary + ToText(BothCount,0) + ' have both.' ;<br>PlanSummary<br> <p>Malcolm Wynden<br><a href=mailto:wynden@island.dot.net>wynden@island.dot.net</a><br><a href= > </a><br>