Hi all
I have a table where the number of fields is causing problems. I want to split the table into 3 or 4 tables with related sections, but am not sure how to maintain the connection to the logical row of data, and how best to do this in Access.
The data relates to council budgets, and all the data is currently in a 'Budget' table. My thoughts are to change this to BudgetIncomeStatement, BudgetRatingStatement, BudgetCashFlowStatement and BudgetNotes as these are the different sections in a budget document.
1: Firstly, should the new tables share a primary key (ie have a BudgetID field in each table that is the same across the 'row') or should each table have its own primary key, with a foreign key relation?
2: If the foreign key relation method, should I keep the 'Budget' table as a main table and have each of the other tables reference it, or should I have BudgetNotes referencing BudgetCashFlow, which references BudgetRating (which references BudgetIncome) as a sort of 'linked list' of tables?
Once I get this sorted, I'll probably be back with 'now how do i do this?' question.
Many thanks in advance
mcalex
I have a table where the number of fields is causing problems. I want to split the table into 3 or 4 tables with related sections, but am not sure how to maintain the connection to the logical row of data, and how best to do this in Access.
The data relates to council budgets, and all the data is currently in a 'Budget' table. My thoughts are to change this to BudgetIncomeStatement, BudgetRatingStatement, BudgetCashFlowStatement and BudgetNotes as these are the different sections in a budget document.
1: Firstly, should the new tables share a primary key (ie have a BudgetID field in each table that is the same across the 'row') or should each table have its own primary key, with a foreign key relation?
2: If the foreign key relation method, should I keep the 'Budget' table as a main table and have each of the other tables reference it, or should I have BudgetNotes referencing BudgetCashFlow, which references BudgetRating (which references BudgetIncome) as a sort of 'linked list' of tables?
Once I get this sorted, I'll probably be back with 'now how do i do this?' question.
Many thanks in advance
mcalex