>>It may return incorrect result if cursor is a filtered table. You can either use system _TALLY variable right after select that creates the cursor or COUNT command on the cursor itself.
>
>Hi Sergey,
>
>I was unaware of these conditions. My cursors are always just run of the mill cursors.
>
>Thanks for the heads up.
>Mike
If you are always using NOFILTER or READWRITE options in your SELECT commands than you are safe. Otherwise, if SELECT conditions are Rushmore optimizable, VFP can just open the source table with USE ... AGAIN ALIAS ... and SET FILTER on it.
--sb--