Results 1 to 3 of 3
  1. #1
    Dave_D's Avatar
    Dave_D is offline Advanced Beginner
    Windows XP Access 2010 64bit
    Join Date
    Aug 2015
    Posts
    67

    autonumber

    Can a new autonumber field be created thru a make table query? What's the appropriate syntax?

  2. #2
    Bulzie is offline VIP
    Windows 7 64bit Access 2007
    Join Date
    Nov 2015
    Posts
    1,511
    I don't think so. Usually what you can do is create the table ahead of time(with the autonumber and related fields), then use an Append query to add the records to that table. Or you could do the make table, then add the Autonumber field afterwards. Not sure if you are able to do the manual parts or want it automated. Maybe in code you could append records and use a counter to create an unique numeric incremental field?

  3. #3
    JoeM is offline VIP
    Windows 7 32bit Access 2007
    Join Date
    Jun 2012
    Posts
    3,904
    You could run code after the MakeTable Query to add the Autonumber field.
    See: http://stackoverflow.com/questions/2...tonumber-field

Please reply to this thread with any new information or opinions.

Similar Threads

  1. autonumber
    By kelvinkind in forum Access
    Replies: 1
    Last Post: 06-26-2014, 10:24 PM
  2. Replies: 4
    Last Post: 11-21-2013, 05:06 PM
  3. Autonumber changes
    By wizardnick in forum Access
    Replies: 5
    Last Post: 09-22-2013, 08:58 AM
  4. Replies: 2
    Last Post: 01-15-2013, 10:04 PM
  5. AUTONUMBER
    By J A F F A in forum Database Design
    Replies: 1
    Last Post: 10-03-2007, 10:30 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Other Forums: Microsoft Office Forums