Thank you that is exactly what I was looking for...
-- 
Matt Disher
[EMAIL PROTECTED]


> From: Danny Epstein <[EMAIL PROTECTED]>
> Reply-To: "Palm Developer Forum" <[EMAIL PROTECTED]>
> Date: Thu, 18 Jul 2002 14:49:07 -0700
> To: "Palm Developer Forum" <[EMAIL PROTECTED]>
> Subject: RE: Skipping deleted records
> 
> Hi Matt.
>> Do any of the Palm routines that locate records specifically skip deleted
> or
>> archived records for you ?
> 
> The docs for DmNumRecords says that it includes deleted records and that you
> should use DmNumRecordsInCategory(dbP, dmAllCategories) if you want to leave
> out deleted records. Generally speaking, deleted records are kept at the
> end, so you can enumerate records by record number this way. Although the
> docs don't say it explicitly, DmQueryNextInCategory, DmSeekRecordInCategory,
> and DmPositionInCategory all ignore deleted records.
> 
> If the database is open without the dmModeShowSecret mode, private records
> will be ignored by all of these routines (but not by DmNumRecords).
> -
> Danny
> 
> -- 
> For information on using the Palm Developer Forums, or to unsubscribe, please
> see http://www.palmos.com/dev/support/forums/
> 



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

Reply via email to