J
Jim Tanis
I have many tables which every one has one or more fields that accept values
from a combo box that takes its values from other tables. To make it easier
let me display it.
table1
fields: ID,name, position->combo that looks up ID column from table2
table2
fields: ID,position_description
table3
fields: ID,product, category-> field that looks up table4
table4
fields: similar to table2, ID, category description
and so on...
So many tables have a field that looks up to another table, having
predefined "options". However, as above, table2 and table4 have no data
resemblence as positions have nothing to do with categories.
This results in dozens of tables containing option values for fields in
other tables.
BUT, the two tables (2,4) have identical structure.
So my question is:
Is it better to keep it that way, relating each lookup column to the ID
field of the "option list" table (aka position in table1 with ID in table2)
OR
Pack up all "options" in a new table (lets say table5) with three columns
(such as ID, option, tablesource) and use queries to filter the options
available to each table and relate all tables that have options residing in
the new table to the ID column of table5. This "saves" me about 30 tables
that have more or less about 10 records each, available to each table.
from a combo box that takes its values from other tables. To make it easier
let me display it.
table1
fields: ID,name, position->combo that looks up ID column from table2
table2
fields: ID,position_description
table3
fields: ID,product, category-> field that looks up table4
table4
fields: similar to table2, ID, category description
and so on...
So many tables have a field that looks up to another table, having
predefined "options". However, as above, table2 and table4 have no data
resemblence as positions have nothing to do with categories.
This results in dozens of tables containing option values for fields in
other tables.
BUT, the two tables (2,4) have identical structure.
So my question is:
Is it better to keep it that way, relating each lookup column to the ID
field of the "option list" table (aka position in table1 with ID in table2)
OR
Pack up all "options" in a new table (lets say table5) with three columns
(such as ID, option, tablesource) and use queries to filter the options
available to each table and relate all tables that have options residing in
the new table to the ID column of table5. This "saves" me about 30 tables
that have more or less about 10 records each, available to each table.