> But i got Bus error. I noticed that r1 and r2 pointing to null record.
> Is it because i did not tell the system where are the r1 and r2.
You are trying to compare deleted recrods.
Deleted records leave an empty record behind (only the recordinfo
is still valid).
You probably want to *remove* records instead (See DmDeleteRecord versus
DmRemoveRecord) or sort "null" records behind all others.
With kind regards / Mit freundlichem Gru�
Holger Klawitter
--
Holger Klawitter
[EMAIL PROTECTED] http://www.klawitter.de
--
For information on using the Palm Developer Forums, or to unsubscribe, please see
http://www.palmos.com/dev/tech/support/forums/