Add an AutoNumber field(ADO)

wperzel

New member
Local time
Today, 06:51
Joined
Mar 12, 2002
Messages
8
Can someone suggest the proper "Append" or "CreateField" statement to add an AutoNumber field to an existing table programatically in ADO? I have found an example for DAO but it does not work in an ADO environment.

Warren
 
Create a data-definition query. You can execute it from VBA. Have a look to ALTER TABLE in Access help.
Re-post if needed.

Alex
 

Users who are viewing this thread

Back
Top Bottom