>>>>Note that reccount() returns the total number of records - and it does so quickly. The total number of records may included deleted records, and records that don't match the current filter criteria. To get only records that you see on screen, use the COUNT command instead - or use an SQL - SELECT command.
>>>
>>>is it the same
>>>
>>>nump=count("mytable")
>>>
>>>?
>>
>>There is no COUNT function, but you can do
>>
>>set deleted on
>>select count(*) from myTable into array laCount
>>
>>lnRecords = laCount[1]
>
>can i use reecount and keep count in mind if i run into something later?
Yes, as long if it's OK to count deleted records as well.
If it's not broken, fix it until it is.
My Blog