I have a Maketable query in an Access db that could use an Autonumber field. I can’t find a built-in function for my purpose. Do i need to write my own? Ideally, I’d just like to create a field in the Access designer as “Autonum: CreateAutoNumber()”
Edit: If it can’t be done in the query itself, I can also run a procedure afterward.
I reckon you either need to use TableDefs or DDL. The DDL query would run after the maketable query, for example:
EDIT Additional note
If you wish to make the new column the primary key, you can run something like: