I'm a little confused (not the first time ;-) )
I want to modify the contents of an existing record in my database.
I *think* that I need to :
1) Get a handle to it
2) Use DmResizeRecord to resize it
3) Write to that new resized handle (as returned by DmResizeRecord)
But in reading the docs.... I find that DmNewRecord might be enough?!?
I quote :
To add a new record to a database, call DmNewRecord. This routine
can insert the new record at any index position, append it to the
end, OR REPLACE AN EXISTING RECORD BY INDEX.
It returns a handle to the new record.
I'm not certain what they mean here.... does the existing record get overidden?
OR is the existing record's index simply adjusted? (Making this NOT a modify
operation).
I'm pretty sure I have to do steps #1, #2 and #3... but I'm seeking verification.
Thanks!
Dan
--
For information on using the Palm Developer Forums, or to unsubscribe, please see
http://www.palmos.com/dev/tech/support/forums/