I am glad that you are aware of this issue. When In discovered this article, and appliad it, our C5 error went away. Also, (sorry Craig), stop using the vfpCommpression.fll excessively also stop many of the buffer overrun (C5).
>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
Greg Reichert