>I think it's the ATC() in your WHILE.
>
>See the VFP Bug List. Search for last name nelson, then a bit of a way down.
Found it and I have the opposite problem. ATC() finds the string (and returns a number above 200,000 or 300,000); strtran() then doesn't do anything and the atc() finds the string again and I get the latest version of the infinite loop :).
I'll try with just AT().