DmDeleteRecord marks the delete bit in the database header for the record and dis-poses of the record�s data chunk. But it does not remove the record entry from the database header, but simply sets the localChunkID of the record entry to NIL. Use DmRemoveRecod Instead. Deepali Bhardwaj ITIL, GROUP USHA New Delhi, India www.palmix.itil.com
i have a function where i create and write to records (5 to be exact). then i run another function that deletes a few records, any ones, 1st or 2nd & 4th or 1st and 3rd ,... whatever. i remove some records. but when i do DmNumRecords it returns the original amount of records that i had (5). do i hafta do a dmquicksort or insertionsort? to move the deleted records down to the end? if so, can i get a small snippet on how to accomplish this? if not, what might cause dmnumrecords to still think i got 5?
