A family of Microsoft relational database management systems designed for ease of use.
Thanks for the reply! Yes, I have a current backup, and I compacted it earlier this evening (it was 16MB, now it is 8MB, but it still had the problem). When I am in the form, I can manually paste append a new record, but that doesn't increment the reference number or perform some of the categorization that I had programed in.
That said, I did keep researching and found some similar code that has fewer steps. I replaced my code with this, and initially it did not work - but then it started to work with the new code. The new code is:
DoCmd.RunCommand acCmdSelectRecord
DoCmd.RunCommand acCmdCopy
DoCmd.RunCommand acCmdPasteAppend
followed by my code that increments the reference number.
So for the moment, it appears to be working with this new code - but I can't see why the changes I made would make that much difference (especially since the whole thing worked fine when I was in this database earlier this week).
I'm not sure what an Append Querry is - if that is a better way to do the same thing, where can I find out more about that?