[V4RB2] Convert_v1_v2 problem

Ruslan Zasukhin sunshine at public.kherson.ua
Fri Feb 24 14:10:19 CST 2006


On 2/23/06 11:05 PM, "Stan Busk" <maxprog at mac.com> wrote:

> I mean I could save the value, change type and then apply the value
> again. I guess this is possible and it will allow me to recover from
> the bad design I use for that old project. Something like:
> 
> temp = vdb.Table( "myTable" ).ULongField( "myRecIDField" ).Value
> vdb.Table( "myTable" ).Field( "myRecIDField" ).Type =
> EVFieldType.kTypeObjectPtr
> vdb.Table( "myTable" ).ObjectPtrField( "myRecIDField" ).Value = temp
> 
> I guess that with that code I will end with a replacement ObjectPtr,
> or no? :P

I understand what you want. I believe answer is no.

New ObjectPtr field will get ZERO value.

 
> ~/Stan
> 
>> 
>> You mean if you can CHANGE TYPE for them ?
>> 
>> I afraid Valentina set ZERO that column,
>> Because we assume that old values cannot be correct RecID values.

-- 
Best regards,

Ruslan Zasukhin
VP Engineering and New Technology
Paradigma Software, Inc

Valentina - Joining Worlds of Information
http://www.paradigmasoft.com

[I feel the need: the need for speed]




More information about the Valentina mailing list