V4RB vVarChar IndexByWords Help

alvin alvin at ins.co.nz
Thu Mar 13 09:55:31 CST 2003


Thanks Ruslan. I'll give that a go.

> From: Ruslan Zasukhin <sunshine at public.kherson.ua>
> Reply-To: Valentina Developers <valentina at lists.macserve.net>
> Date: Wed, 12 Mar 2003 12:50:17 +0200
> To: <valentina at lists.macserve.net>
> Subject: Re: V4RB vVarChar IndexByWords Help
> 
> on 3/12/03 11:48 AM, alvin at alvin at ins.co.nz wrote:
> 
>> Hi,
>> 
>> I'm trying to turn index by words off for a field originally created in the
>> Valentina program itself but I cannot figure out the exact syntax to use:
>> 
>> dim vFld As vField
>> dim vchr As vVarChar
>> vFld = mDatabase.BaseObject("Curriculum").Field("Description")
>> vFld.Indexed = True
>> 
>> works for turning the indexing on but I cannot get vFld.IndexByWords =
>> False.
>> 
>> I can if I use:
>> 
>> vchr.IndexByWords = False but how do I let RealBasic know which field I want
>> to turn the indexing off on - which database and which field.
> 
> You need to TYPE CASTING
> 
> vchr = VVarChar( vFld )
> 
> 
> -- 
> 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://listserv.macserve.net/mailman/listinfo/valentina
> -------------------------------------------------------------
> 
> _______________________________________________
> Valentina mailing list
> Valentina at lists.macserve.net
> http://lists.macserve.net/mailman/listinfo/valentina
> 



More information about the Valentina mailing list