table relationships (1 Viewer)

reyrey

Registered User.
Local time
Today, 13:17
Joined
May 23, 2012
Messages
18
i have 2 tables that share a one to one relationship. the problem is that when i enter the data into a form, i get an "unable to add or change data in table1 because of related data in table2. it seems there is a "must have" relationship between the 2 tables, when i really need a "may have" relationship between the two. is this changed in the properties tab? how can i tell by looking at the relationships? oracle uses a hashed mark connecting the two tables for "may have" and a solid line for "must have". my tables have a single solid line connecting them. thanks
 

boblarson

Smeghead
Local time
Today, 11:17
Joined
Jan 12, 2001
Messages
32,059
So, does the first table have a primary key which is linked to a FOREIGN KEY on the other table? You do not want to link primary keys.
 

reyrey

Registered User.
Local time
Today, 13:17
Joined
May 23, 2012
Messages
18
boblarson, i'm not sure i understand your question. the primary key on the parent table is the foreign key on the other. there is nothing linked to the primary key on the child table, if thats what your asking.
 

Pat Hartman

Super Moderator
Staff member
Local time
Today, 14:17
Joined
Feb 19, 2002
Messages
43,519
I gave you the answer in your other post.
 

Users who are viewing this thread

Top Bottom