A Microsoft Office (Excel, Word) forum. OfficeFrustration

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

Go Back   Home » OfficeFrustration forum » Microsoft Access » General Discussion
Site Map Home Register Authors List Search Today's Posts Mark Forums Read  

Autonumber trying to create duplicates



 
 
Thread Tools Display Modes
  #1  
Old March 8th, 2010, 11:36 PM posted to microsoft.public.access
Gary
external usenet poster
 
Posts: 790
Default Autonumber trying to create duplicates

I use an autonumber as my primary key in my table contracts. From the form
contracts users select create new record, enter the contract number and state
and county and then refresh. Sometimes the error message comes up with
trying to create duplicates. When I investigate the contract number which is
a unique field itself there is no duplicate. If I reset the autonumber
everything is fine and the user can add records with no problems. This error
seems to occur randomly and I need help as it is killing productivity.

Thanks
  #2  
Old March 8th, 2010, 11:45 PM posted to microsoft.public.access
Gina Whipp
external usenet poster
 
Posts: 3,500
Default Autonumber trying to create duplicates

Gary,

Have a look at...

http://allenbrowne.com/ser-40.html

--
Gina Whipp
2010 Microsoft MVP (Access)

"I feel I have been denied critical, need to know, information!" - Tremors
II

http://www.regina-whipp.com/index_files/TipList.htm

"Gary" wrote in message
...
I use an autonumber as my primary key in my table contracts. From the form
contracts users select create new record, enter the contract number and
state
and county and then refresh. Sometimes the error message comes up with
trying to create duplicates. When I investigate the contract number which
is
a unique field itself there is no duplicate. If I reset the autonumber
everything is fine and the user can add records with no problems. This
error
seems to occur randomly and I need help as it is killing productivity.

Thanks

  #3  
Old March 13th, 2010, 05:35 PM posted to microsoft.public.access
De Jager
external usenet poster
 
Posts: 393
Default Autonumber trying to create duplicates


"Gary" wrote in message
...
I use an autonumber as my primary key in my table contracts. From the form
contracts users select create new record, enter the contract number and
state
and county and then refresh. Sometimes the error message comes up with
trying to create duplicates. When I investigate the contract number which
is
a unique field itself there is no duplicate. If I reset the autonumber
everything is fine and the user can add records with no problems. This
error
seems to occur randomly and I need help as it is killing productivity.

Thanks


 




Thread Tools
Display Modes

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

vB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Forum Jump


All times are GMT +1. The time now is 12:01 AM.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 OfficeFrustration.
The comments are property of their posters.