Unfortunately the records are a different format.
I need to delete them.
Cheers though.

-----Original Message-----
From: Aaron Hansen [mailto:[EMAIL PROTECTED]]
Sent: Friday, April 13, 2001 11:48 AM
To: Palm Developer Forum
Subject: RE: DmRemoveRecord : Not removing record


If you are just moving records to another db why not use DmDetachRecord and
DmAttachRecord?  That way you don't use "double" the memory.  I know that
doesn't answer your question of why the DmRemoveRecord call does not seem to
do what it is supposed to, but it is probably the better way to do it.

        HTH,

        Aaron Hansen


> -----Original Message-----
> From: Richard.Johnstone [mailto:[EMAIL PROTECTED]]
> Sent: Friday, April 13, 2001 8:37 AM
> To: Palm Developer Forum
> Subject: RE: DmRemoveRecord : Not removing record
> 
> 
> Also, if I exit half way through, half the records are deleted.
> It is as if something needs to be called to delete them all.
> 
> -----Original Message-----
> From: Phillip Streck [mailto:[EMAIL PROTECTED]]
> Sent: Friday, April 13, 2001 11:23 AM
> To: Palm Developer Forum
> Subject: Re: DmRemoveRecord : Not removing record
> 
> 
> Is DmRemoveRecord returning an error code?
> 
> 
> 
> Philip Streck
> Akron General Medical Center
> Information Systems
> 
> >>> "Richard.Johnstone" <[EMAIL PROTECTED]> 
> 04/13/01 11:16AM >>>
> I am trying to copy a database into another database.
> Due to space limitations on a 2MB handheld, I need to delete 
> the original DB
> records as I insert them into another database.
> I am calling DmRemoveRecord and when I display the number of 
> records in the
> DB it is going down as if it was deleting them.
> However I run out of memory and when I reset, it shows all 
> the records still
> in there.
> I have even tried closing and openning the DB after evry 10 
> records to try
> and force the removal of these records.
> Does DMRemoveRecord just flag things for deletion?? It say in 
> the manual it
> diposes of the chunk.
> Help Please!!
> 
> -- 
> For information on using the Palm Developer Forums, or to unsubscribe,
> please see http://www.palmos.com/dev/tech/support/forums/
> 
> 
> -- 
> For information on using the Palm Developer Forums, or to unsubscribe,
> please see http://www.palmos.com/dev/tech/support/forums/
> 
> -- 
> For information on using the Palm Developer Forums, or to 
> unsubscribe, please see http://www.palmos.com/dev/tech/support/forums/
> 


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

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