Bit of a two sided question this,
1) How can I specify where in a table I want to insert a column, I would like the ID column at the begining, but this code always appends to the end:
2) Now I am sure this is a simple one, how do you define the column as an Autonumber datatype?
Thanks in advance
1) How can I specify where in a table I want to insert a column, I would like the ID column at the begining, but this code always appends to the end:
Code:
DoCmd.RunSQL "ALTER TABLE OS_MAINb ADD COLUMN [ID2] BYTE"
2) Now I am sure this is a simple one, how do you define the column as an Autonumber datatype?
Thanks in advance