That's brilliant, thanks. You are right thought just being able to say which level back you want to go to would be perfect rather than having to parse the procedure name out.
Thanks for all your help.
>Then...,
>
>
>RETURN TO Click
>
>
>And VFP skip to first
Click procedure/method in LIFO callstack.
>
>Ideal was RETURN TO [nLevel], but this do not functional.
>
> MartinJ
>
>>MartinJ,
>>
>>That's the essence of what I was trying except that the procedure I'm trying to get back to is on a form "FRMEDITREPORT.PGFSECTIONS.PAGDOCUMENT.CMDDOCUMENT.CLICK" and is a click method, this is what created and called the custom class that had the error, do you know how I can get back to that. (A class of type Custom doesn't have a release method to just jump out with.)
>>
>>Thanks for your time.
Caroline