This is a dumb question, and I know the answer already.. but
.. just hoping.. ;)

        SyncWriteRec cannot write to any specified index in a database;
your only luxury is that you can write by unique-id, or request a new
unique-id.

        1) Is this still true, or are there any tricks to writing a record
to a specific location in a db?

        2) The record gets the first unused index, IIRC, in the database
and a new unique-id is generated. Is this always the case? Or do different
OS versions do it differently?

        Why do I ask? I found a nasty piece of code that has a lad doing
all sorts of crazy SyncWriteRec()s, making assumptions about its
location. I find it bewildering :P

                jeff

--
"It's murder out there. You can't even travel around in your own micro
circuits without permission from 'Master Control Program'. I mean,
sending *ME* down here to play games.... Who does he calculate he is?"
-- Peter Jurasik as Crom, _Tron_


-- 
For information on using the Palm Developer Forums, or to unsubscribe, please see 
http://www.palmos.com/dev/tech/support/forums/

Reply via email to