Thanks Tracy and Sergey
I was close but not quite there.
>
Re: Varaible and counting question Message #
1044075>
>>Is there a way to count the number of groups in a report? Say the report is grouped on the field PERMID.
>>
>>If I set numsites=0 just before calling the report and in the on exit code for the groups put
>>numsites=numsites + 1
>>
>>why wouldn't it count the number of sites (groups)?