>>>Thank you for responding
>>>
>>>>>I can not get a nested if - endif routine to return
>>>>>control to parent do while - end do routine.
>>>
>>>Added the DO WHILE NOT EOF () statement and that will stop the routine, but I need it to contine to look.
>>>"LOOP"
>>>pick up at the next record and continue.
>>
>>I am sorry, my only purpose was to tell you that DO WHILE .T. constitutes endless loop by definition. So you have to either use condinion (not only EOF(), it might be something else), or stop the loop using EXIT. BTW you must SKIP before LOOP, else you always sit on the same record.
>
>Thank you for your help I am attempting other conditions.
>May I contact you in the future, only after I have tried lots of other attempted conditions ?
You can, but the problem is that my work day is going to end. Anyway there are a lot of good people on UT anytime. Feel free to post your question and me or someone else will be on hand. BTW, if you have 'pure code' question, keep it on 'question sheet', else people cannot answer efficiently.
Edward Pikman
Independent Consultant