V4RB2 IndexByWords example
Ruslan Zasukhin
sunshine at public.kherson.ua
Wed Nov 17 22:22:13 CST 2004
On 11/17/04 12:38 AM, "erne" <ernestogiannotta at tiscalinet.it> wrote:
Hi Erne,
> when I run the IndexByWords example this is what I find:
>
> fld_text begins with 'he'
> finds the 'Hellow world' record but it shouldn't since it starts with
> uppercase 'H'... aha! I see, this is because CollationAttribute of DB
> is set to 0
>
> fld_text contains 'he'
> crashes the app
>
> fld_text ends with 'he'
> crashes the app
Checking right now....no more crash.
Here was fixes.
> fld_text exact match 'hellow'
> finds the 'Hellow world' record
> it's cool, CollationAttribute will allow to get rid of those Uppercase
> methods
>
> fld_text like 'Hello'
> finds no record,
> fld_text like 'Hellow world'
> finds the 'Hellow world' record,
> is like now supposed to work as an exact match of the whole field
> containts without regard for what the collation attribute is?
> BTW it doesn't accept the no_case keyword anymore, this throws a Vale
> Exception
>
> fld_text regex 'ellow'
> finds the 'Hellow world' record,
> just as I expected, if I want it case insensitive I must use regex (?i)
> syntax is the no_case keyword definitely dropped?
We have no for now no_case in 2.0
May be better add it back in future
--
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