Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Want to search memo fields
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Divers
Thread ID:
00142607
Message ID:
00142675
Vues:
27
>Does anyone know of a FAST way to search a memo field for a string. (say look for the string "System testing problem" in a memo field for all records in a DBF)

You know, I don't get too bad performance out of code like this:

LOCAL lcSearchString, lcTableName

lcTableName = [your table]
lcSearchString = "system testing problem"

SELECT(lcTableName)
SCAN FOR lcSearchString$LOWER(lcTableName.Memo1)
Travis Vandersypen
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform