Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

relationships for new tables

Status
Not open for further replies.

Robway

Technical User
Jul 18, 2002
24
0
0
AU
I've just added two new tables to my existing 14-table database, and can't define the new relationships how I'd like.

The 2 new tables are tbContainerType and tbContainer.

I want them to link as:

tbContainerType 1-many tbContainer 1-many tbAccessionItem

I have a field ContainerType in both tbContainerType (primary key/auto number) and tbContainer (text) and a field ContainerID in both tbContainer (text)and tbaccessionItem (text).

I want referential integrity between them with update and delete cascades but I haven't been able to set this - the fields are greyed out.

The ContainerID field has always existed in tbAccessionItem and I've gone through it to check that every record is accurate. I've created all the records for tbContainerType (there are only about 10) and for tbContainer (1359 records and growing) so that the itegrity etc is there (I hope - I keep checking), but it still won't work.

Any suggestions on what I've missed?

Cheers, Robyn
 
This was the wrong forum. I'll repost this to Tables and Relationships.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top