In my db, I have a chain of 5 tables (1-Many relationship ) with cascading foreign keys on each table on the many side. Due to normalization, Table3 has a FK to Table2 only, not to Table1, and likewise down the chain.
I have made a form for my users to drill down from Table1-ID to Table4-ID using a series of combo boxes to pick subsequent foreign keys in order to add new records to Table5. However, when the record is saved, only the fields for Table5 should be saved, which includes the FK Table4-ID. The rest of the fields do not pertain to Table5 and so need not be saved.
I reckon I can achieve this by using one of these two approaches:
1. Use an unbound form with VBA code to save new records.
2. Use a compound query of all 5 tables as the form's record source.
A third way would be to have unbound combo boxes for the first three tables and bound controls for fields in Table5. But again I would have to write code to populate the unbound combos.
Is there a better way to get round this?
Regards,
GoodGuy