benchmark

Ivan Smahin ivan_smahin at valentina-db.com
Wed Dec 13 20:04:38 CST 2006


Hello Joakim,

Wednesday, December 13, 2006, 7:39:47 PM, you wrote:

>  

>> -----Original Message-----
>> From: valentina-bounces ÎÁ lists.macserve.net 
>> [mailto:valentina-bounces ÎÁ lists.macserve.net] On Behalf Of Ivan Smahin
>> Sent: 13 December 2006 16:17
>> To: Valentina Developers
>> Subject: Re[4]: benchmark
>> 
>> Hello Joakim,
>> 
>> > Oh yes, half a question more... If I set a Balue to ObjectPtr field 
>> > like this ObjPtr.Value = nVar, does it automatically 
>> establishing the 
>> > link or is this "wrong" way and I should do it like this
>> 
>> It  is  usual  way.  The nature of ObjectPtr is keeping some 
>> recIDs so only valid recID will be required.
>> 
> Oh Ivan I realize now this wasn't really what I should have asked about ;-)

> It was this, with an ObjectPtr, if I want to change the link on the M side
> to point to another record on the 1 side, is it then enough to just set as
> this fldObjPtr.value = varNewRecID

> It was this I wounder if I have to first Unlink before I set it with new
> value or if Valentina will handle this link change internaly by automatic?
> ObjectPtr only.

No operations required. You just write
fldObjPtr.value = varNewRecID


-- 
Best regards,
 Ivan                            mailto:ivan_smahin ÎÁ valentina-db.com



More information about the Valentina mailing list