S
Steven
I need to make a budget database. I was thinking of making a field for each
month. The database fields would be:
Co, Acct, Dept, TranDescription, Year, M01Jan, M02Feb, M03Mar, ....
M12Dec
Now in my mind I would think what it sould be is:
In table1 AutoNumber, Co, Acct, Dept, TranDescription, Year and then in
table2 IdNumber, Month, Amount
where table2 field IdNumber is related to AutoNumber in table1. ie each
Autonumber in table1 could have 12 records with IdNumber = the reltated
AutoNumber in table1.
Now I kind of want to do the first method becuase it seems easy ....
although not normalized.
My question is that in theory terms this application should be split as in
the second example, correct? If yes, then when a user is updating a budget
item they will always see budget amounts per month vertically in a form.
There is not a way to spread table 2 horizontally accross the form to show
the Co, Acct, Dept, TranDescription, Year, Jan, Feb, March ...... and be
able to update the amount fields. ie you cannot relate the tables to each
other and then spread across horizonnillaly. Correct? The correct method
approach of this is you would have a form with table1 as the source and a
subform with table2 as the source and then see the months and amounts in the
subform in a vertical view for that particular item of table1. Correct?
I think I make this sound confusing but I hope it is somewhat understandable.
Thank you for your help,
Steven
month. The database fields would be:
Co, Acct, Dept, TranDescription, Year, M01Jan, M02Feb, M03Mar, ....
M12Dec
Now in my mind I would think what it sould be is:
In table1 AutoNumber, Co, Acct, Dept, TranDescription, Year and then in
table2 IdNumber, Month, Amount
where table2 field IdNumber is related to AutoNumber in table1. ie each
Autonumber in table1 could have 12 records with IdNumber = the reltated
AutoNumber in table1.
Now I kind of want to do the first method becuase it seems easy ....
although not normalized.
My question is that in theory terms this application should be split as in
the second example, correct? If yes, then when a user is updating a budget
item they will always see budget amounts per month vertically in a form.
There is not a way to spread table 2 horizontally accross the form to show
the Co, Acct, Dept, TranDescription, Year, Jan, Feb, March ...... and be
able to update the amount fields. ie you cannot relate the tables to each
other and then spread across horizonnillaly. Correct? The correct method
approach of this is you would have a form with table1 as the source and a
subform with table2 as the source and then see the months and amounts in the
subform in a vertical view for that particular item of table1. Correct?
I think I make this sound confusing but I hope it is somewhat understandable.
Thank you for your help,
Steven