G
Guest
I want to append a group of tables that contain primary key autonumber fields
into matching tables. I want to append all fields except of course the
autonumber field. I want to use sql rather than queries and i don't want to
list all the fields except the autonumber field in the sql. How do I either
delete the autonumber field before appending or exclude it in the sql?
This is the code I have now which of course gets an error due to the primary
key autonumber field in the table to be appended.
DoCmd.RunSQL "INSERT INTO TableName SELECT TableName1.* FROM TableName1;"
Thanks
into matching tables. I want to append all fields except of course the
autonumber field. I want to use sql rather than queries and i don't want to
list all the fields except the autonumber field in the sql. How do I either
delete the autonumber field before appending or exclude it in the sql?
This is the code I have now which of course gets an error due to the primary
key autonumber field in the table to be appended.
DoCmd.RunSQL "INSERT INTO TableName SELECT TableName1.* FROM TableName1;"
Thanks