Encodings on RB 5

Ruslan Zasukhin sunshine at public.kherson.ua
Fri Sep 12 08:02:49 CDT 2003


on 9/12/03 1:01 AM, Cindy at alvin at ins.co.nz wrote:

> Thanks Ruslan and François. This looks like it should fix the problem but I
> am having trouble with the syntax which I need to enter at runtime. I am
> using:
> 
> dim fld As vField
> dim newfld As vFixedBinary
> dim bo As vBaseObject
> bo = mDatabase.baseObject("Students")
> fld = bo.field("cid")
> newfld = bo.changeType(fld,kv_TypeFixedBinary,11)
> 
> I have also tried:
> 
> newfld = 
> mDatabase.baseObject("Students").changeType("cid",kv_TypeFixedBinary,11)
> 
> But both these options come up with parameters are incompatible. I'm not
> sure where I am going wrong as these look like the right parameters
> according to the manual and the auto fill in allows these options.

Cindy. I have not understand problem.

You type this

 newfld = bo.changeType(fld,kv_TypeFixedBinary,11)

And what happens?


------
PS: I assume you try to change schema of db, to prepare new version.
    so you will need update also SchemaVersion, correct?


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