Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Want to search memo fields
Message
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00142607
Message ID:
00142675
Views:
26
>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
Previous
Reply
Map
View

Click here to load this message in the networking platform