>Hi Nadya Nosonovsky :
> Thank for your help
> i need a looping to check the file record by record
> so i set a 'flag" to stop the loop.
Hi Cavin,
That's what I thought. In my example, after flag=.f. use command EXIT.
In VFP (and VB also) you can always stop the loop process, using EXIT command.
If it's not broken, fix it until it is.
My Blog