Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Searching all fields
Message
De
03/11/2003 12:21:23
 
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Divers
Thread ID:
00845549
Message ID:
00845675
Vues:
13
>>if there is a way to search a word or string in all fields
>>in a table.
>
>Yes, you can do that in a number of ways. For example
SELECT mytable
>SCAN
>  FOR i=1 TO FCOUNT()
>    IF TYPE(FILED(i)) = "C"
>       IF lcSearchDFor $ EVAL(lcUserName)
>         *  Found, do something
>       ENDIF
>    ENDIF
>  ENDFOR
>ENDSCAN
Hi Sergey,
I did not find this "FILED()" function in VFP 8.0,
is it one of your own functions?
Thanks,
Terry Harris
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform