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/

Reply via email to