if (attr&dmRecAttrDirty) attr &= ~dmRecAttrDirty;
still no success. have tried dmNewHandle/dmAttachRecord. dmAttachRecord() sets the dirty bit. Using a resource editor it is possible to change the bit. many thanks for help regards Darren -- For information on using the ACCESS Developer Forums, or to unsubscribe, please see http://www.access-company.com/developers/forums/