>>Is there a tool to do a find in files for text in the entire project?
>>
>>For instance, say I'm trying to locate where an object (myForm, say) is instantiated. I'd like to do a 'find in project' or 'find in files' to search on the word myForm. Let's say it is found in a menu and another object, I'd like a list of the hits and the ability to double click on each and open the menu or object.
>>
>>Is this a utility that is already available?
>>
>>Thanks ever so much.
>>
>>Dawn
>
>I do not think there is. But when I needed to search through forms, classes, etc., for particular strings, I did the following:
>lnRetVal = adir(aForms, "*.SCX")
>for j = 1 to lnRetVal
> lcForm = aForms(j,1)
> use (lcForm) excl
> for i = 1 to fcount()
> if type(field(i)) = "M"
> locate for "SOME_VALUE" $upper(field(i))
> do while !eof()
> _do_what_you_want_here_
> continue
> enddo
> endif
> endfor
>endfor
There is a program called VersaTools from VersaTech Software (versasoft.com) that does exactly what you're requesting. It has some other cool features too.
Good Luck!