Thanks Chris,  I was kind of thinking the same thing.
Jay


Chris  DiPierro wrote:

DmDeleteRecord marks the record deleted, but it won't
be removed from the DB
until you sync with a desktop.
DmRemoveRecord removes the record immediately.

As for whether DmRemoveRecord or DmDeleteDatabase is
better, I'd pick
DmDeleteDatabase and follow it by recreating the DB
personally. The system
should be better optimized to perform this operation
than your app is, and
in the worse case, at least equally optimized.

> I want to delete all the records in two databases in
> one fell swoop.
> I am not concerned about whether the records need to
be
> synched to a desktop.  I
> simply want them all deleted.  Wouldn't it make sense

> to delete the databases and then create them
> again rather than iterate through them and delete the

> individual records.  DmDeleteRecord apparently
doesn't
> remove
> the header entry.  DmRemoveRecord might be a better
> choice.  Wouldn't delete database be the best choice.

> Pardon if
> this is intuitively obvious.  Thanks Jay


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

Reply via email to