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 » Database Design
Site Map Home Register Authors List Search Today's Posts Mark Forums Read  

This Error is driving me crazy!!



 
 
Thread Tools Display Modes
  #1  
Old July 27th, 2004, 03:32 PM
Ali
external usenet poster
 
Posts: n/a
Default This Error is driving me crazy!!

Please help - I have a simple database with customer
orders and information and I have suddenly come to a dead
end trying to add a new record.

I can add one new record without any problem but when I
try to add a second one, I get the Error message "The
changes you requested to the table were not successful
because they would create duplicate values in the index,
primary key, or relationship. (Error 3022)"

I have checked the relationships, indexes and Primary key
(which is an autonumber - CustomerID, with a single
relationship to my Orders Table)

I am nowhere near reaching the size limit (just over 3MB
so far) and am going mad trying to work out why I am
suddenly getting this error.

Please Help Me!!

  #2  
Old July 27th, 2004, 03:57 PM
Ken Snell
external usenet poster
 
Posts: n/a
Default This Error is driving me crazy!!

Do any of the indexed fields contain a Null value? And is the index that
includes that field have "Ignore Nulls" set to No?

--

Ken Snell
MS ACCESS MVP

"Ali" wrote in message
...
Please help - I have a simple database with customer
orders and information and I have suddenly come to a dead
end trying to add a new record.

I can add one new record without any problem but when I
try to add a second one, I get the Error message "The
changes you requested to the table were not successful
because they would create duplicate values in the index,
primary key, or relationship. (Error 3022)"

I have checked the relationships, indexes and Primary key
(which is an autonumber - CustomerID, with a single
relationship to my Orders Table)

I am nowhere near reaching the size limit (just over 3MB
so far) and am going mad trying to work out why I am
suddenly getting this error.

Please Help Me!!



  #3  
Old July 27th, 2004, 04:24 PM
Ali
external usenet poster
 
Posts: n/a
Default This Error is driving me crazy!!

I have checked all the indexes and changed any that
specified 'Ignore Nulls' as No to Yes but I still get the
problem.

Ali

Do any of the indexed fields contain a Null value? And

is the index that
includes that field have "Ignore Nulls" set to No?

--

Ken Snell
MS ACCESS MVP

"Ali" wrote in

message
...
Please help - I have a simple database with customer
orders and information and I have suddenly come to a

dead
end trying to add a new record.

I can add one new record without any problem but when I
try to add a second one, I get the Error message "The
changes you requested to the table were not successful
because they would create duplicate values in the

index,
primary key, or relationship. (Error 3022)"

I have checked the relationships, indexes and Primary

key
(which is an autonumber - CustomerID, with a single
relationship to my Orders Table)

I am nowhere near reaching the size limit (just over

3MB
so far) and am going mad trying to work out why I am
suddenly getting this error.

Please Help Me!!



.

  #4  
Old July 27th, 2004, 05:02 PM
Ken Snell
external usenet poster
 
Posts: n/a
Default This Error is driving me crazy!!

I can't see the data that you're trying to load, so I'm very limited in what
suggestions to make beyond this.

Can you post the info table structure, table indices, and data that
loaded and data that is rejected?

--

Ken Snell
MS ACCESS MVP

"Ali" wrote in message
...
I have checked all the indexes and changed any that
specified 'Ignore Nulls' as No to Yes but I still get the
problem.

Ali

Do any of the indexed fields contain a Null value? And

is the index that
includes that field have "Ignore Nulls" set to No?

--

Ken Snell
MS ACCESS MVP

"Ali" wrote in

message
...
Please help - I have a simple database with customer
orders and information and I have suddenly come to a

dead
end trying to add a new record.

I can add one new record without any problem but when I
try to add a second one, I get the Error message "The
changes you requested to the table were not successful
because they would create duplicate values in the

index,
primary key, or relationship. (Error 3022)"

I have checked the relationships, indexes and Primary

key
(which is an autonumber - CustomerID, with a single
relationship to my Orders Table)

I am nowhere near reaching the size limit (just over

3MB
so far) and am going mad trying to work out why I am
suddenly getting this error.

Please Help Me!!



.



  #5  
Old July 27th, 2004, 06:33 PM
Ali
external usenet poster
 
Posts: n/a
Default This Error is driving me crazy!!

Hi Ken

Thanks for your help but I think I have solved the
problem - some default values appear to have sneaked in
to a couple of the fields and removing these has also
removed the problem...

Thanks again
Ali

-----Original Message-----
I can't see the data that you're trying to load, so I'm

very limited in what
suggestions to make beyond this.

Can you post the info table structure, table

indices, and data that
loaded and data that is rejected?

--

Ken Snell
MS ACCESS MVP

"Ali" wrote in

message
...
I have checked all the indexes and changed any that
specified 'Ignore Nulls' as No to Yes but I still get

the
problem.

Ali

Do any of the indexed fields contain a Null value? And

is the index that
includes that field have "Ignore Nulls" set to No?

--

Ken Snell
MS ACCESS MVP

"Ali" wrote in

message
...
Please help - I have a simple database with customer
orders and information and I have suddenly come to a

dead
end trying to add a new record.

I can add one new record without any problem but

when I
try to add a second one, I get the Error

message "The
changes you requested to the table were not

successful
because they would create duplicate values in the

index,
primary key, or relationship. (Error 3022)"

I have checked the relationships, indexes and

Primary
key
(which is an autonumber - CustomerID, with a single
relationship to my Orders Table)

I am nowhere near reaching the size limit (just over

3MB
so far) and am going mad trying to work out why I am
suddenly getting this error.

Please Help Me!!



.



.

 




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

Similar Threads
Thread Thread Starter Forum Replies Last Post
Mark Up View Driving Me Crazy Jayne Mae Page Layout 3 July 18th, 2004 06:37 AM
Form opening issue. Driving me CRAZY! Narwe General Discussion 3 June 28th, 2004 07:54 AM
Driving me crazy Steve Worksheet Functions 4 February 18th, 2004 09:52 PM
Help This is driving me crazy Richard Worksheet Functions 1 December 11th, 2003 03:14 PM
Array Countif formula driving me NUTS! dprimm Worksheet Functions 13 September 18th, 2003 08:42 PM


All times are GMT +1. The time now is 09:07 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.