Nothing. It can't be done. You can only create an Autonumber field in Design
View, or via a CREATE/ALTER TABLE DDL statement..
That means, if you need the resulting table to have an Autonumber field, you
have to create the table ahead of time and change the Make-table query to an
Append query.
Actually, what I want is for a Make-table query to *not*
generate an Autonumber field.
My Make-table query is failing with the error, "You tried to
assign the Null value to a variable that is not a Variant
data type." There is one field in the query that seems to
want to be an Autonumber field, but I can't figure out why.
According to KB 197587, the query is failing because it is
creating an Autonumber field and then trying to put a null
in it. The KB only gives a workaround--build the table
first, avoiding Autonumber fields, and then use an append
query. That's how I got interested in the subject of this
thread.