I am creating a personal/financial/budgeting db and I am having trouble grasping a piece of how the budgeting will work.
I have a Main category and Sub category, so I created three tables, tblBudgMain and tblBudgSub, and the JUNCtblBudgMain_BudgSub. In theory, the way that this is created, I would have to store the PK (which is Autonumber field) from the Junction table to the transaction table when a new transaction is entered. I suppose that the budgeting item will be loaded via a cascading combo box (I need to research that more later).
It seems that the combobox to choose the sub Budgeting item would be loaded off of the Junction table which Would then allow me to store the PK of the Junction table into my transaction table.
Am I going about this all wrong, or is this about the best way to do this for a normalized db? I am just looking for direction as to how the structure should be - I haven't really delved too much into building it yet so I can't really test too much.
Thanks in advance for any help/suggestions/links!
I have a Main category and Sub category, so I created three tables, tblBudgMain and tblBudgSub, and the JUNCtblBudgMain_BudgSub. In theory, the way that this is created, I would have to store the PK (which is Autonumber field) from the Junction table to the transaction table when a new transaction is entered. I suppose that the budgeting item will be loaded via a cascading combo box (I need to research that more later).
It seems that the combobox to choose the sub Budgeting item would be loaded off of the Junction table which Would then allow me to store the PK of the Junction table into my transaction table.
Am I going about this all wrong, or is this about the best way to do this for a normalized db? I am just looking for direction as to how the structure should be - I haven't really delved too much into building it yet so I can't really test too much.
Thanks in advance for any help/suggestions/links!