>>
do while !eof()
>> lcGroup=CityOrCountyCode
>> replace next 3 lPrintThis with .t.;
>> while lcGroup=CityOrCountyCode
>> count while lcGroup=CityOrCountyCode
>>enddo
>>assuming you have them ordered by city/county and top ranked guys first.
>
>Yes, Dragan, I was thinking in the same direction. Instead of using CutOff variable in Report, I can use this as a field. Still not clear, how to calculate it, but it could be resolvable. What I wanted to achieve (and fortunately it's not needed yet), it's the minimum modification of the existing reports. They are really complicated and though I can change them using "HACK" method, I prefer not to do it...
You can simply delete the records from the cursor where lPrintThis=.f., and touch nothing in the report.