Hi Paul and June7
Thanks for the replies. I totally forgot about the AS operator that I have in fact used in the past Hopefully next time I'll remember. And that has resolved the issue.
I am using DoCmd.RunSQL and the desitnation table does have an autonumber field (primary).
So the code below worked very nicely.
Code:
strSQL = "INSERT INTO [CustomersBackup] SELECT Customers.*, Now() AS DateChanged, '" & LoginUserName & "' AS ChangedBy FROM Customers WHERE (((Customers.CustomerID)=[Forms]![New Customer Popup]![CustomerID]))" ';"
DoCmd.RunSQL strSQL
I'll continue tinkering with the whole backup routine. Now I'll need to implement a history query so users will be able to view a change history. Funny how one thing leads to another.
Thank you both again.