Greg --
Yup, already read that article. Apparently, my message was unclear -- I'm aware of the problem and found a fairly easy to locate problem RETURNs.
What I'm looking for is a way to locate dangling references.
>Read this article about why not use RETURN inside a WITH block.
>
>
http://doughennig.blogspot.com/2006/04/dont-return-inside-with.html>
>>I suspect that some of the C5 errors a few of my users have been getting may be due to dangling references.
>>
>>Is there any programmatic way to find such references? (I was successful in finding a way to locate RETURNs between WITH / ENDWITH and was hoping there'd be something in this case as well).
>>
>>Thanks
Jim Nelson
Newbury Park, CA