>>>RECCOUNT() also counts deleted records!
>>
>>if you do not want the DELETED records than...
>>
>>count = 0
>>use mytable
>>do while !eof()
>> if !deleted()
>> count = count + 1
>> endif
>>enddo
>>
>>?count && your number of not deleted records
>
>I think DO WHILE !EOF() is a lot slower than Mr. Shevchenko's program.
yes it is...try SCAN or LOCATE