I have a query make table with this SQL:
SELECT DISTINCT tblStore.Position, tblStore.Branch, tblStore.Location, tblStore.Operator INTO tblAllPositions
FROM tblStore
WHERE (((tblStore.Position) Is Not Null))
ORDER BY tblStore.Position, tblStore.Branch, tblStore.Location;
I want to add to the new table tblAllPositions
a field called ID_Positions
and set it as primary key autonumber.
How can i do that?