I have to make modifications to an existing database and would like to have other opinions prior to working on it.
The old structure for the Member_Type table was:
memID - autonumber (PK)
memType - text (duplicates=no)
cost - monetary (duplicates=OK)
Back then, any type of membership could be added or deleted, but it was thought that the need for it would not come up for another 20 years. Of course this one existing table relates to alot of the queries, forms and reports in the existing database.
Now, 2 years later, the request is to keep track of all membership types, even after they have been dissolved/discontinued and to know how much each individual type cost for a given year to keep track of what everyone should have been paying, way-back-when. They still want to be able to add new ones, as well.
The first and seemingly easiest way was to set up a table as follows:
memID - autonumber (PK)
memTypeA - monetary (duplicates=OK)
memTypeB - monetary (duplicates=OK)
memTypeC - monetary (duplicates=OK)
memTypeD - monetary (duplicates=OK)
memTypeE - monetary (duplicates=OK)
...
year - (duplicates=no)
This works fine, providing that the end-users do not have to add new membership types, so I am trying to figure out if I should have it broken down into 2 or 3 tables and try some form of pivot-table or make-table query from there.
Although it should be straightforward, I get the feeling that I am missing something obvious and can't see the proverbial forest for the trees.
Suggestions, anyone?
Thanks in advance.
The old structure for the Member_Type table was:
memID - autonumber (PK)
memType - text (duplicates=no)
cost - monetary (duplicates=OK)
Back then, any type of membership could be added or deleted, but it was thought that the need for it would not come up for another 20 years. Of course this one existing table relates to alot of the queries, forms and reports in the existing database.
Now, 2 years later, the request is to keep track of all membership types, even after they have been dissolved/discontinued and to know how much each individual type cost for a given year to keep track of what everyone should have been paying, way-back-when. They still want to be able to add new ones, as well.
The first and seemingly easiest way was to set up a table as follows:
memID - autonumber (PK)
memTypeA - monetary (duplicates=OK)
memTypeB - monetary (duplicates=OK)
memTypeC - monetary (duplicates=OK)
memTypeD - monetary (duplicates=OK)
memTypeE - monetary (duplicates=OK)
...
year - (duplicates=no)
This works fine, providing that the end-users do not have to add new membership types, so I am trying to figure out if I should have it broken down into 2 or 3 tables and try some form of pivot-table or make-table query from there.
Although it should be straightforward, I get the feeling that I am missing something obvious and can't see the proverbial forest for the trees.
Suggestions, anyone?
Thanks in advance.