>should I delete a record
>and then add the new record fresh for an edit or should I use DmWrite or
>another function that I have missed?
In my experience, it kind of depends on the situation. There's no one
right answer.
If you have to do a _lot_ of DmWrites, for instance, to update
several different discrete byte ranges, then maybe deleting and
creating a new record makes sense. It's simpler, easier, and more
straightforward code. If you are buffering all the new data in a
struct and can just blast it into the existing record, and it'a all
the same size, DmWrite works fine.
There are no other wildly relevant functions, except there is one Fld
function that lets you update a record in place, from a field's text,
as long as you are only doing that with one field. The technique is
described in the Rhodes/McKeehan book.
Regards,
Steve Mann
--
-------------------------------------------
Creative Digital Publishing Inc.
1315 Palm Street, San Luis Obispo, CA 93401-3117
-------------------------------------------
805.784.9461 805.784.9462 (fax)
[EMAIL PROTECTED] http://www.cdpubs.com
--
For information on using the Palm Developer Forums, or to unsubscribe, please see
http://www.palmos.com/dev/tech/support/forums/