Thank you for the help. 1. This problem, at least MY problem, doesn't seem to relate to any delay in the cache. I'm using Simulator, and I tried to wait for a while to reset it after the database is closed, but it's still the same.
2. DmSyncDatabase() didn't help. I called it right before DmCloseDatabase. Both returns errNone. But still the database is deleted after a soft reset. 3. This seems to happen to TX only. I tried 650/680/700, again, simulators. They don't seem to have this problem. 4. Work-around: This is what I've found so far which can keep the database from being deleted -- Right before DmCloseDatabase(), I made a copy for each and every record in it, then delete the original records. I guess this pretty much lets the system "reorangize" the entire database. Of course this is a very dumb method, and it doesn't gurarantee anything. So I'd still like to know if anybody out there has any insights? In the past couple of days, I found that I'm not the only one. There are other developers facing the same or similar problem as I am. But it seems that none of them has an answer. So I'm wondering? Is Palm, Inc. aware of this problem? What's their official response to this? Does anybody know? -- For information on using the PalmSource Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/
