Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

Does auto-increment work reliably in Access 2010?

Posted on 2010-08-16
8
Medium Priority
?
1,195 Views
Last Modified: 2012-05-10
In Access 2003 and 2007 auto-incremnt numbers can become corrupted.  See http://allenbrowne.com/ser-40.html and
http://support.microsoft.com/?id=884185

Can anyone tell me whether this has been fixed in Access 2010?   Is there an authoritative document, preferably from Microsoft, that tells whether this has been fixed?

Thanks!
0
Comment
Question by:anAppBuilder
8 Comments
 
LVL 75

Accepted Solution

by:
DatabaseMX (Joe Anderson - Microsoft MVP, Access and Data Platform) earned 400 total points
ID: 33449576
This is *EXTREMELY* rare ... and *not* something I would worry about.

mx
0
 
LVL 58

Assisted Solution

by:cyberkiwi
cyberkiwi earned 400 total points
ID: 33449654
If you take the first link as authoritative (since you posted it), read this in there

You may be able to solve the problem with a compact/repair:
    * In Access 2010:  Compact and Repair Database on the Database Tools ribbon.

What does that tell you?
The problem with the conditions of the issue like "linked tables" is that Access is not in total control.  As with any database system, it may crash and corrupt in any version.
0
 
LVL 75
ID: 33449761
Auto Numbers are a fact of life in Access database design, and have for the most part .... 99.99999999 % been extremely reliable since Access 1.0.

I would have zero fear of using Auto Numbers.

mx
0
NFR key for Veeam Backup for Microsoft Office 365

Veeam is happy to provide a free NFR license (for 1 year, up to 10 users). This license allows for the non‑production use of Veeam Backup for Microsoft Office 365 in your home lab without any feature limitations.

 
LVL 58

Assisted Solution

by:Jim Dettman (Microsoft MVP/ EE MVE)
Jim Dettman (Microsoft MVP/ EE MVE) earned 400 total points
ID: 33449769
If your really that concerned with it failing, then you should use a key generation routine and assign your own key.  But as MX has said, this is extremely rare.  I cannot think of an instance yet were I've failed to get a proper key and I've been using Access since ver 1.1.
Heck, just look at the number of conditions from that MSKB article that you need in order to see it fail.
JimD.
0
 
LVL 22

Assisted Solution

by:dportas
dportas earned 400 total points
ID: 33453058
Apparently this is a problem with JET / ACE databases. If it's a problem to you then you could always use Access with SQL Server Express or some other DBMS instead. There are of course plenty of other more significant benefits to using another more powerful DBMS.
0
 
LVL 9

Assisted Solution

by:Armen Stein - Microsoft Access MVP since 2006
Armen Stein - Microsoft Access MVP since 2006 earned 400 total points
ID: 33455166
Although most of the Access applications we build for clients use a SQL Server back-end these days, when we do use an Access back-end we always use AutoNumber primary keys.  Over hundreds of systems since Access 2.0 we have never had a problem with them corrupting or duplicating.
0
 

Author Comment

by:anAppBuilder
ID: 33488404
thank you all
0
 

Author Closing Comment

by:anAppBuilder
ID: 33488432
Thank you!
0

Featured Post

Free Tool: Path Explorer

An intuitive utility to help find the CSS path to UI elements on a webpage. These paths are used frequently in a variety of front-end development and QA automation tasks.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

This article describes a method of delivering Word templates for use in merging Access data to Word documents, that requires no computer knowledge on the part of the recipient -- the templates are saved in table fields, and are extracted and install…
If you need a simple but flexible process for maintaining an audit trail of who created, edited, or deleted data from a table, or multiple tables, and you can do all of your work from within a form, this simple Audit Log will work for you.
In Microsoft Access, learn how to use Dlookup and other domain aggregate functions and one method of specifying a string value within a string. Specify the first argument, which is the expression to be returned: Specify the second argument, which …
Add bar graphs to Access queries using Unicode block characters. Graphs appear on every record in the color you want. Give life to numbers. Hopes this gives you ideas on visualizing your data in new ways ~ Create a calculated field in a query: …

972 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question