Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Searching code
Message
From
27/08/2001 04:50:58
Cetin Basoz
Engineerica Inc.
Izmir, Turkey
 
 
To
27/08/2001 03:53:16
General information
Forum:
Visual FoxPro
Category:
Troubleshooting
Title:
Miscellaneous
Thread ID:
00549358
Message ID:
00549364
Views:
18
>Is there some utility out there that will allow me to search all the methods within the forms of my project to find instances of a word. My memory seems to be failing me and I need a new tool.

Dennis,
I think there is a tool in download area but I'm not sure. If there isn't a quick code might be like :
lparameters tcSearch
create cursor formlist (formname m, recno i)
lcSCXDir = getdir()
lnFiles = adir(arrForms,'SCX')

for ix = 1 to lnFiles
  select arrForms[ix,1], recno()  from ;
     (lcSCXDir+'\'+arrForms[ix,1]) ;
     where atc(tcSearch,methods) > 0 ;
     into array arrExist
  if _tally > 0
    insert into formlist from array arrExist
    release arrExist
  endif
endfor
Cetin
Çetin Basöz

The way to Go
Flutter - For mobile, web and desktop.
World's most advanced open source relational database.
.Net for foxheads - Blog (main)
FoxSharp - Blog (mirror)
Welcome to FoxyClasses

LinqPad - C#,VB,F#,SQL,eSQL ... scratchpad
Previous
Reply
Map
View

Click here to load this message in the networking platform