[VSDK Macho/PB] 1.9.6

Ruslan Zasukhin sunshine at public.kherson.ua
Tue Jan 28 20:45:33 CST 2003


on 1/28/03 8:05 PM, Totte Alm at totte at code66.se wrote:

>> Problem with performance is that you need do BaseObject.goto( recID )
>> And this load all fields of this BaseObject, but you want update only
>> one
>> field ?
>> 
>> Totte, in fact cursor.Update() will do the same -- make full record to
>> be
>> current. This is needed in case you update a field which also is used
>> in
>> some BaseObject. So to correctly update this method, it needs set
>> correct
>> values for other fields also.
> 
> It still was 3 times faster to iterate using cursor and then update
> using baseobject GoToRecord than doing it ONLY with baseobject
> iteration, so its OK.

You update EACH iterated record?
Or only some of them?


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