Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Searching code
Message
De
27/08/2001 04:50:58
Cetin Basoz
Engineerica Inc.
Izmir, Turquie
 
 
À
27/08/2001 03:53:16
Information générale
Forum:
Visual FoxPro
Catégorie:
Problèmes
Titre:
Divers
Thread ID:
00549358
Message ID:
00549364
Vues:
21
>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
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform