[V4RB2] Convert_v1_v2 problem

Ruslan Zasukhin sunshine at public.kherson.ua
Thu Feb 23 22:19:57 CST 2006


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

> Can you use an ObjectPtr to store the record number of same table
> (target table would be self)? like I do with a VULong?

No.

> Like for example: myObjectPtr.Value = AddRecord()  rather than

This is correct. 

> myVULong.Value = AddRecord()

This is WRONG. You need store RecID of new record into ObjectPtr

> (I am using Class way).

Not important here

> What do I get doing that? myObjectPtr would
> have been updated properly after Convert_v1_v2 ?

Of course

> Also, would you change all those VULongs I use that way to ObjectPtr?
> Both are 4 bytes by the way.

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.

> I use VULongs right now to store table records IDs and to link to
> other tables. I use ObjectPtr in another project though but because
> it is much more recent.


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