I am trying to figure out how to assign a primary key using code, after running a Make Table query or importing a new table. The query runs everyday to refresh a table but, because it always deletes the old table, it looses the primary key.
As alternative, I have been using Delete Table and then running an Append Query which keeps the old PKey but would prefer to create new table instead
Thanks in advance.
JDTTEK
As alternative, I have been using Delete Table and then running an Append Query which keeps the old PKey but would prefer to create new table instead
Thanks in advance.
JDTTEK