SCAN scope is suposed to be ALL by default, but maybe ALL forces going top before start scanning and maybe scan without all doesn't work if you are at EOF(). (like replace, wich does not do anything if eof() on current table).
Well, I always GO TOP before SCAN and always SELECT ScanningTable before ENDSCAN.
>Just queer, but on the same event, the first doesn't work, but putting ALL makes all the difference. Any idea?
>
>
>#1 :-
>
>llErr = .F.
>SCAN WHILE !llErr
> * Commands
>ENDSCAN
>
>
>#2 :-
>
>llErr = .F.
>SCAN ALL WHILE !llErr
> * Commands
>ENDSCAN
There´s a better life... Just it´s more expensive!
Cristóbal Manrique M.