Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Search for a word in a memo field (object)
Message
From
20/05/2004 14:14:20
 
 
To
20/05/2004 09:27:00
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
00905583
Message ID:
00905737
Views:
11
This message has been marked as the solution to the initial question of the thread.
>Is there any quick way to put in an input box to enter a word and have it search through a memo field to find it real quick and have the object which displays the memo position the cursor at that spot and have the ability to then search for that word again to continue from the last one and look for the word again? We have some memo fields which may contain a lot of information and need the capability to find a certain section (by keyword). Just wondering if anyone has already done this and found a very efficient way to do it. I have thought of some ways, but they may not be the most efficient...
>

If you're searching a particular memo field (as opposed to searching a memo field in every record), you should be able to do this reasonably quickly. Use the AT() function, together with SelStart and SelLength.

Tamar
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform