Loose search

Ruslan Zasukhin sunshine at public.kherson.ua
Mon Feb 28 16:04:28 CST 2005


On 2/28/05 11:59 AM, "Ralf Sander" <ralf at end-if.de> wrote:

> Hi list,
> 
> I am trying to create a very loose search like the one in the Finder:
> 
> 1. "do" will find "document 23" or "my Doc" or "todo"
> 2. but "image 34" fill find "iMage 34" and not "34 image"
> 
> How can this be done in valentiva?

Hi Ralf,

If you take a look on V4RB 2.0 beta,
you will find exactly such example


> using index by words as fieldoption and "=" as operator does only find
> whole words
> using "LIKE" is not indexed and hence to slow for me.

> using "LOCATE" would be the right function, but it seems not to be
> implemented in 1.0 and it is case sensitiv.

2.0 have Vfield.Contains() fujction

-- 
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 mailing list