virtuals fields / ViSQL

Ruslan Zasukhin sunshine at public.kherson.ua
Fri Jan 14 16:13:12 CST 2005


On 1/14/05 4:05 PM, "jda" <jda at his.com> wrote:

>>   fld.IndexByWords = true
>>     
>>        // you set modifier, this not means INDEX was built.
>>        
>>   fld.Find()   
>>        
>>         // NON indexed search
>> 
>>   fld.Indexed = true    // BUILDS INDEX
>> 
>>   fld.Find()   
>> 
>>         // indexed search
>> 
> 
> So, very simply, if I create a field like this
> 
>    pages = CreateTextField("pages", 128, EVFlag.fNullable +
> EVFlag.fIndexed + EVFlag.fIndexByWords)
> 
> will be be indexed when I populate it?

yes

> Or do I also have to have this line in code to actually have an index made:
> 
> pages.indexed = true

No, this is old style.

Now we have FLAGS in the CreateField() functions.


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