V4RB vVarChar IndexByWords Help

Ruslan Zasukhin sunshine at public.kherson.ua
Wed Mar 12 12:50:17 CST 2003


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



More information about the Valentina mailing list