Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Finding a String of Characters in ANY Field
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00265873
Message ID:
00265986
Vues:
14
>Any such thing in the FoxPro Command Language that works like Edit > Find (where it will find a string of characters, no matter what field they're in)???
A command I have used successfully in the past is:
SELECT * FROM sometable WHERE ATC('sometext',field1 + field2 + field3 + ...) > 0
This only makes sense if the specified fields are of type character. I use ATC rather than the $ operator if my comparison is not case sensitive. It can be adjusted as necessary.
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform