Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Memo searches

Status
Not open for further replies.

youwannawhat

Programmer
Oct 3, 2001
43
0
0
US
We have a memo field that's written to as part of a transaction log. How can I search through the memo fields in the table for a specific string?
 
You can use either AT() or ATC() functions against Memo field. I did it, it worked.
 
AT() and ATC() are good if you know which record it's in and want to know WHERE in that memo file it is. If you want to find a record that contains a string, you need to use the $ operator like this:
[tt]
LOCATE FOR cSearchString $ MemoField
[/tt]
It's slow, but without some kind of keyword list there's no real way to optimize the search.

Ian
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top