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  

Error 3626-Can't force referential Integrety



 
 
Thread Tools Display Modes
  #1  
Old September 11th, 2008, 02:32 PM posted to microsoft.public.access.tablesdbdesign
Laura M[_2_]
external usenet poster
 
Posts: 2
Default Error 3626-Can't force referential Integrety

I am trying to add several tables to the relationships screen. When I try to
enforce Referential Integrity, Cascade Update and Cascade Deletes, I get an
error saying there are too many indexes in Tbl Agent. I only have 2 indexes
in that table. Can anyone explain what the problem might be?
--
Laura
  #2  
Old September 11th, 2008, 03:02 PM posted to microsoft.public.access.tablesdbdesign
Armen Stein
external usenet poster
 
Posts: 507
Default Error 3626-Can't force referential Integrety

On Thu, 11 Sep 2008 06:32:01 -0700, Laura M
wrote:

I am trying to add several tables to the relationships screen. When I try to
enforce Referential Integrity, Cascade Update and Cascade Deletes, I get an
error saying there are too many indexes in Tbl Agent. I only have 2 indexes
in that table. Can anyone explain what the problem might be?


Access builds hidden indexes too, one for each foreign key in your
table. There's a limit of 32 total indexes, including these hidden
ones. Sounds like you might have a *lot* of foreign keys
(relationships to other tables) and are hitting this limit.

This usually (but not always) indicates that your database design is
not well normalized. Perhaps some of your repeating data would be
better in related child tables.

Armen Stein
Microsoft Access MVP
www.JStreetTech.com

  #3  
Old September 11th, 2008, 07:12 PM posted to microsoft.public.access.tablesdbdesign
Laura M[_2_]
external usenet poster
 
Posts: 2
Default Error 3626-Can't force referential Integrety

All of the tables link to one table (Tbl Agent). Could the problem be that I
am trying to create too many relationships? I inherited this database. It
is probably over normalized, but it's really too big to redesign at this
point. Is there a way to see the hidden indexes?
--
Laura


"Armen Stein" wrote:

On Thu, 11 Sep 2008 06:32:01 -0700, Laura M
wrote:

I am trying to add several tables to the relationships screen. When I try to
enforce Referential Integrity, Cascade Update and Cascade Deletes, I get an
error saying there are too many indexes in Tbl Agent. I only have 2 indexes
in that table. Can anyone explain what the problem might be?


Access builds hidden indexes too, one for each foreign key in your
table. There's a limit of 32 total indexes, including these hidden
ones. Sounds like you might have a *lot* of foreign keys
(relationships to other tables) and are hitting this limit.

This usually (but not always) indicates that your database design is
not well normalized. Perhaps some of your repeating data would be
better in related child tables.

Armen Stein
Microsoft Access MVP
www.JStreetTech.com


  #4  
Old September 11th, 2008, 07:55 PM posted to microsoft.public.access.tablesdbdesign
Armen Stein
external usenet poster
 
Posts: 507
Default Error 3626-Can't force referential Integrety

On Thu, 11 Sep 2008 11:12:02 -0700, Laura M
wrote:

All of the tables link to one table (Tbl Agent). Could the problem be that I
am trying to create too many relationships? I inherited this database. It
is probably over normalized, but it's really too big to redesign at this
point. Is there a way to see the hidden indexes?


You might have some redundant indexes on tblAgent that could be
removed, since Access creates them for fields involved in
relationships anyway. Try removing any of the visible ones.

Check out this guide for more info:
http://www.allenbrowne.com/bin/Acces...Chapter_04.pdf

And this thread:
http://www.eggheadcafe.com/software/...y-indexes.aspx

I don't see too many *over* normalized databases - usually they're
under normalized.

Armen Stein
Microsoft Access MVP
www.JStreetTech.com

 




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 11:09 PM.


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