SplitToWords

Ruslan Zasukhin sunshine at public.kherson.ua
Wed Nov 10 16:18:10 CST 2004


On 11/10/04 4:07 PM, "jda" <jda at his.com> wrote:

>>>  What I've tried with v2 now is to "hijack" an existing indexed field
>>>  (e.g. authors) and use it to get the splittowords result. This works,
>>>  but if I call it repeatedly from different methods -> crash. So I'm
>>>  thinking I need to create a table and a field dedicated to just this
>>>  one function.
>> 
>> NO !!!!!!!!!!!!!!!!!!!!!!!!!!
>> 
>> You need call SplitToWords using that field into which you will store
>> string.
>> 
> 
> I haven't heard you yell like that for a long time! :-)
> 
> I'm not storing the string anywhere.
> 
> I'm taking a string that the user types in and creating an SQL query
> with it. That's all. And I need that because otherwise I can't
> prepare the SQL search properly for indexedByWord fields. That's why
> I wanted something like s = Valentina.SplitToWords.

Ok, but you do search on some field?

Then use THIS field

    fld.SplitWords()

Other filed with other IndexStyle can return other results.
You see


-- 
Best regards,
Ruslan Zasukhin      [ I feel the need...the need for speed ]
-------------------------------------------------------------
e-mail: ruslan at paradigmasoft.com
web: http://www.paradigmasoft.com

To subscribe to the Valentina mail list go to:
http://lists.macserve.net/mailman/listinfo/valentina
-------------------------------------------------------------




More information about the Valentina-beta mailing list