>Can anyone explain what the error message "Do nesting Exceded " and how I may address this problem?
>
Typically, this indicates that you've forced the nesting of DO WHILE, FOR EACH or FOR NEXT loops to exceed the maximum depth of 128 layers - unless involved with extensive, deep recursive algoritms, it's usually a sign of poor algoritm implementation. Unless you're involved in a recursive algoritm which could recurse inwards in exces of 128 layers (the limit of calling depth to a VFP application) the odds are very strong that you've misconstructed a series of embedded loops within a single process.