Problem: When I am writing a new record to a database. It overwrites the last one I created. It creates a new record and attaches it to the database. But each of the new records are referencing the same chunk in memeory. I am not getting a new chunck of memeory from DmNewHandle. I have traced through the routine and the DmNewHandle routine never gives me a link to a new space in memory. I have another routine that uses the exact same code to write to a different database, and that one works. They are both opened and created in the same way. The only differences I am aware of are what happens in between the calls to create. In the working case it goes off to use that record before a new one is created. In the not working database it goes on the create another new record. I also recieve what I belive to be a connected problem. After using this routine and I leave the program. I recieve a invalid memory handle on my next hotsink or if I try to view the databases. This only occurs during a hotsink or after the palm has been reset. Once that happens the databases have to be cleared and then reinstalled. Matt
