AUTO NUMBER

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

How do I set attribute property of a field to be "auto number" with SQL DDL?
Thanks
 
I'm not sure you can. I think you have to use DAO (or ADOX)
 
ALTER TABLE Table1
Alter COLUMN ID COUNTER

ID is my Field Name. Tested OK in A2K2.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top