Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Memo fields
Message
From
17/05/1999 11:34:00
 
 
To
17/05/1999 00:36:32
Chiang Jeffrey
Paramoun Air Sea Svcs P/L
Singapore, Singapore
General information
Forum:
Visual FoxPro
Category:
User groups
Title:
Miscellaneous
Thread ID:
00214299
Message ID:
00219628
Views:
18
>Hi,...how can I search for a string in a memo field....eg I want to seach for a sentence and have a prg to seach thru the entire table's memofie for a particular sentence,...how can I do that,..would appreciate if you could assist...
>

You can use any of the string and substring compare functions such as LIKE() or the $ operator with a memo field. For example, to see if the string 'I like VFP' is in a memo field, you can ? 'I like VFP' $ memo field name. You can use this in SQL Selects and the like; you need to realize that this type of search is not Rushmore-optimizable, so with large tables it tends to be fairly slow.

If you have a need for faster searches, you might want to investigate third-party memo search tools like PHDbase. The search engine on UT is built using PHDbase.
EMail: EdR@edrauh.com
"See, the sun is going down..."
"No, the horizon is moving up!"
- Firesign Theater


NT and Win2K FAQ .. cWashington WSH/ADSI/WMI site
MS WSH site ........... WSH FAQ Site
Wrox Press .............. Win32 Scripting Journal
eSolutions Services, LLC

The Surgeon General has determined that prolonged exposure to the Windows Script Host may be addictive to laboratory mice and codemonkeys
Previous
Reply
Map
View

Click here to load this message in the networking platform