Results 1 to 6 of 6
  1. #1
    jjfaith is offline Novice
    Windows 7 32bit Access 2010 32bit
    Join Date
    Aug 2016
    Posts
    5

    MS Access 2010 AutoNumber Problem


    I have an MS Access table with an ID field set to AutoNumber - Long Integer. Even with this field setting the table will not accept records once the ID field reaches 32777. That seem to be the maximum value the table will accept. Does anyone know how to fix this problem since I have many tables with the same setting and could have many more records than 32777. It seems to imply field type Integer but the field type is set to Long Integer.

  2. #2
    ranman256's Avatar
    ranman256 is offline VIP
    Windows Vista Access 2010 32bit
    Join Date
    Apr 2014
    Location
    Kentucky
    Posts
    9,523
    That is NOT the max number for long,nor autoNum.
    did you try compacting/repair the db?

  3. #3
    ranman256's Avatar
    ranman256 is offline VIP
    Windows Vista Access 2010 32bit
    Join Date
    Apr 2014
    Location
    Kentucky
    Posts
    9,523
    Also try ,create a new table. Create all fields again manually. Esp, the auto num.
    import from the old data. Autonums should be exactly the same.

  4. #4
    JoeM is offline VIP
    Windows 7 32bit Access 2007
    Join Date
    Jun 2012
    Posts
    3,904
    I am assuming that maybe you meant 32767, not 32777, as 32767 is the maximum integer value. If not, and you already have values like 32777, then it is not an Integer/Long Integer issue, as ranman pointed out, 32777 is already a Long Integer.

    Is everything contained in this Access database, or is it linking to outside data sources, like SQL?
    If so, note that response from Brent Spaulding here: https://social.msdn.microsoft.com/Fo...orum=accessdev

  5. #5
    jjfaith is offline Novice
    Windows 7 32bit Access 2010 32bit
    Join Date
    Aug 2016
    Posts
    5
    Thanks for the quick response.

    yes it did have record with value 32777. i am executing queries from Excel VBA. If I run the query to start from the record that failed it runs fine. I will re-run again to see if there may be another issue to look at.

  6. #6
    jjfaith is offline Novice
    Windows 7 32bit Access 2010 32bit
    Join Date
    Aug 2016
    Posts
    5
    Found it! It is actual my Excel counter set to integer not the database that is the problem.

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

Similar Threads

  1. Access 2010 API problem
    By RayMilhon in forum Programming
    Replies: 3
    Last Post: 08-13-2015, 02:12 PM
  2. One more problem (for now) with Access 2010
    By NISMOJim in forum Forms
    Replies: 5
    Last Post: 12-21-2013, 06:03 PM
  3. Another Access 2010 problem
    By NISMOJim in forum Programming
    Replies: 10
    Last Post: 12-20-2013, 06:52 PM
  4. VBA SQL in Access 2010 problem
    By ruthib4 in forum Programming
    Replies: 1
    Last Post: 03-13-2012, 09:08 AM
  5. Access 2010 Problem
    By DSTR3 in forum Access
    Replies: 7
    Last Post: 11-29-2010, 05:11 PM

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