I am not sure if you tried this, but I am sure that you should change the dirty attr after MemHandleUnlock, and after DmRelease record, and probably after DmInsertionSort (just you will first have to find the record, since the index has changed during the sort. Use the id). Lionscribe
-- For information on using the ACCESS Developer Forums, or to unsubscribe, please see http://www.access-company.com/developers/forums/
