I have spent hours trying to resolve these two problems;
1) In a Contacts database, I am repeatedly getting "changes requested to table not successful because they would create duplicate values, etc. I have checked the table, and there was only one field, ContactID, the primary key, that was indxed. There are no other indexed fields. I finally removed the primary key, but left it indexed, but dups OK. Same error. Removed the index completely. Same error.
Another problem that may be related:
2) I have Alan Browne's audit routine running on the form. I have been repeatedly getting errors about the object having been removed or renamed. It starts with the first line -- Audit Begin.Call AuditEditBegin("tbl_Contacts", "tbl_AudTemp_Contacts", "ContactID", Nz(Me.ContactID, 0), bWasNewRecord)
I've check the form carefully and the ContactID is on the form (not visible). ContaactID is the name of the data source, as well as the name under Other. I deleted and replaced the ContactID object, thinking somethng might be wrong with it, but no change.
I have repeatedly compacted and repaired the back end, but I am now beginning to wonder if something is wrong with the table. ContactID seems to be the common thread. I have also decompiled and recompiled the front end twice in the last two days.
I'm using Office 2010 as of a week ago, but the database is a mdb. I recreated both the front and back ends in fresh datbases. Any thoughts? I'm getting a little desperate at this point.