>>>I've seen you do a search in memo fields before that seemed to turn the normal rules inside out to get both speed and accuracy, so I know you will appreciate giving up to get more speed.
>>
>>Ummm... which one do you mean? The only thing I remember I was doing a memo search on is when I was extracting keywords into an additional table.
>
>I had to dig to find this one, and it turns out that it was an answer to me. In message 91386 on 1998/04/12 you were telling me to replace ALL instances of a string in a memo field (in a VCX file) by using an array to look for the posisions of all the occurences of the string, and then replace them LAST TO FIRST, so their positions don't move. I thought that was a great idea. Going BACKWARDS gave me the accuracy that I needed.
Oh, that. You have better memory than me :). When I read "memo search" I understood "search the memos in a table", not "search within one memo".
Actually, this thing helped me understand the trick when releasing forms - if you release forms from 1 to n in _screen.Forms[] array, you've actually cut the leg you're standing on. Just the same with that string example - if you replace the first occurrence with something else, all the other occurrences move and you have to search again. I do admit it took me some time to make it :)