P
peter zinniker
Consider a database structure like this:
table1:
field1, primary key
table2:
field1
field2
table3:
field1, primary key
field2, primary key
table4:
field1
field2
fieldX
referencies having reverential integrity:
a) field1 in table1 to field1 in table2, table3 and table4
(single-field relations)
b) [field1,field2] in table2 to [field1,field2] in table3
(multiple-field relation)
So far so good. I can have records in table2 that have
null values in field1, i.e. that have no relation to
table1. But I can't have records in table4 that have null
values in field2, i.e. have relation to table1 but no
relation to table3. In other words, it works with single-
field relations but not with multiple-field relations.
Why? Does somebody know a solution?
By the way: this was possible with Access 2, but no more
with Access 97 and later versions.
table1:
field1, primary key
table2:
field1
field2
table3:
field1, primary key
field2, primary key
table4:
field1
field2
fieldX
referencies having reverential integrity:
a) field1 in table1 to field1 in table2, table3 and table4
(single-field relations)
b) [field1,field2] in table2 to [field1,field2] in table3
(multiple-field relation)
So far so good. I can have records in table2 that have
null values in field1, i.e. that have no relation to
table1. But I can't have records in table4 that have null
values in field2, i.e. have relation to table1 but no
relation to table3. In other words, it works with single-
field relations but not with multiple-field relations.
Why? Does somebody know a solution?
By the way: this was possible with Access 2, but no more
with Access 97 and later versions.