K
Kevin
Hi,
I've inherited an Access 97 database in which approx 7 out
of the 10 tables are free standing and not related (via
foreign keys) to central main table. This main table
contains fields which are populated from records from
these remaining subsidiary tables (which contain
information such as status values for records in the main
table etc) but this is done in the form for the main table
by inserting the text from the other tables, rather than
by inserting the primary key from the correct subsidiary
table. In all cases, the subsidiary table contains only
one field which is also it's primary key.
Can I establish these relations in retrospect ( the main
table contains a considerable number of records with these
virtual relations to the subsidiary tables already
populated). If so how ? Do I simply drag the primary key
from the subsidiary table into the corresponding pre-
existing and pre-populated candidate foreign key field in
the main table ? Or, should I live with the existing
structure. I would assume that aside from it being the
correct thing to do for a relational database, the proper
establishment of the relationships would improve the
performance of any queries involving those fields or would
it not make ant difference if the subsidiary table only
contained one field ?
I've inherited an Access 97 database in which approx 7 out
of the 10 tables are free standing and not related (via
foreign keys) to central main table. This main table
contains fields which are populated from records from
these remaining subsidiary tables (which contain
information such as status values for records in the main
table etc) but this is done in the form for the main table
by inserting the text from the other tables, rather than
by inserting the primary key from the correct subsidiary
table. In all cases, the subsidiary table contains only
one field which is also it's primary key.
Can I establish these relations in retrospect ( the main
table contains a considerable number of records with these
virtual relations to the subsidiary tables already
populated). If so how ? Do I simply drag the primary key
from the subsidiary table into the corresponding pre-
existing and pre-populated candidate foreign key field in
the main table ? Or, should I live with the existing
structure. I would assume that aside from it being the
correct thing to do for a relational database, the proper
establishment of the relationships would improve the
performance of any queries involving those fields or would
it not make ant difference if the subsidiary table only
contained one field ?