Hi Dan
>>>>>Check Code Refrences on the Tools menu.
>>>>>
>>>>>>Is there a utility available that will allow me to globally replace every occurance of a text segment throughout a form's methods?
>>>>>>If there isn't, this might be a nice litte addition for the Sedna team to consider.
>>>>
>>>>Thank you fellows. I'm on it. VFP continues to amaze me with it's depth.
>>>>Grady
>>>
>>>Hey Grady?
>>>
>>>If you're finding you have lots of common code in various methods you may want to consider breaking that out into a new object. Then you can change things in one place instead of in several.
>>
>>Nifty idea, Mike. Most of the code is under a button click.
>
>If it's under *a* button click, you don't need a search tool. If it's under *many* button clicks, you need a code reorganization. ;-)
http://fox.wikis.com/wc.dll?Wiki~EventsShouldAlwaysCallMethods~SoftwareEngIt's no fun playing hide and seek with code. Put the methods on the form - have the buttons call the form methods.