PC Review


Reply
Thread Tools Rate Thread

Curious problem with the ID-field in a table

 
 
J. S. EDV
Guest
Posts: n/a
 
      3rd Jun 2009
Good morning NG,

the ID-field in an Access table, which should increment every new record,
resets sometimes its auto-value counter to a number which has been already
assigned. When I correct this through a new record which contains an explicit
ID-value, which is higher than the highest which has been assigned, the
allocation of new ID-values seems to work for some records. But after some
new Records the problem occurs again.

Does anybody know a solution for this?

Thanks

Jacek
 
Reply With Quote
 
 
 
 
Allen Browne
Guest
Posts: n/a
 
      3rd Jun 2009
This article discusses several possible reasons for this:
Fixing AutoNumbers when Access assigns negatives or duplicate
at:
http://allenbrowne.com/ser-40.html
--
Allen Browne - Microsoft MVP. Perth, Western Australia
Tips for Access users - http://allenbrowne.com/tips.html
Reply to group, rather than allenbrowne at mvps dot org.

"J. S. EDV" <(E-Mail Removed)> wrote in message
news:F4AEA480-F51E-4718-8058-(E-Mail Removed)...
> Good morning NG,
>
> the ID-field in an Access table, which should increment every new record,
> resets sometimes its auto-value counter to a number which has been already
> assigned. When I correct this through a new record which contains an
> explicit
> ID-value, which is higher than the highest which has been assigned, the
> allocation of new ID-values seems to work for some records. But after some
> new Records the problem occurs again.
>
> Does anybody know a solution for this?
>
> Thanks
>
> Jacek


 
Reply With Quote
 
J. S. EDV
Guest
Posts: n/a
 
      8th Jun 2009
Hallo Allen

"Allen Browne" wrote:

> This article discusses several possible reasons for this:
> Fixing AutoNumbers when Access assigns negatives or duplicate
> at:
> http://allenbrowne.com/ser-40.html
>


Thank you very much for your help. I have installed all service packs and
checked the database with your script. It seems to work now.

Jacek
 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Curious log off problem Mike Windows XP General 2 16th Jun 2004 12:33 PM
VBA Creating Table in Second MDB returning curious error Dkline Microsoft Access VBA Modules 5 6th Jun 2004 08:51 AM
Curious Problem.. Rob Meade Microsoft ASP .NET 16 26th Apr 2004 08:41 PM
Problem with Make Table Query - Resultant Table not allowed to have more than one AutoNumber field. Neil Robbins Microsoft Access Queries 4 4th Apr 2004 04:54 PM
Problem with Make Table Query - Resultant Table not allowed to have more than one AutoNumber field. Neil Robbins Microsoft Access Security 1 4th Apr 2004 01:50 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 08:43 AM.