>Nadya,
>
>For Erik's utlitiy you have to open the project first. The combo is in case you have more than one project open.
Jim,
I've just tried it. It showed me a list of files, there I have my string "SetFocus". Then I tried to save this list to a file, it gave an error :
SELE targets
lcSaveFile = PROPER(PUTFILE("Save as","SearchResults.dbf","dbf"))
IF !EMPTY(lcSaveFile)
COPY TO (lcSaveFile)
MESSAGEBOX(ALLTRIM(STR(RECCOUNT('Target'))) + " records saved to " + lcSaveFile,48,THISFORM.Caption)
ENDIF
As I see, targets is misspelled here in RECCOUNT("Target").
Also then I click on the file, it just opens the file to modify (say, classlib), so I have to search for the string again.
Anyway, the utility works.
If it's not broken, fix it until it is.
My Blog