So use DmRemoveRecord, it completely removes the record from the DB.  Or
modify your draw table routine to look at the delete status of each record
before displaying.

----- Original Message -----
From: "Todd Cary" <[EMAIL PROTECTED]>
To: "Palm Developer Forum" <[EMAIL PROTECTED]>
Sent: Tuesday, October 23, 2001 10:50 AM
Subject: Re: Deleting vs removing records - more


> I understand about DmDeleteRecord() not removing a record.  After some
> testing, I know know the problem, but I do not know the solution.  Here
> is the problem:
>
> Since DmDeleteRecord() does not remove the record,
> DmNumRecords(Database) returns an incorrect value if a record is
> "Deleted", so that my code for "painting" the tables, etc. does not work
> (I use DmNumRecords() ).
>
> What change should I make to the code?
>
> Todd
>
> --
> Todd Cary
> Ariste Software
> [EMAIL PROTECTED]
>
>
>
> --
> 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