Pyro
Too busy to comment
- Local time
- Tomorrow, 04:10
- Joined
- Apr 2, 2009
- Messages
- 127
Hi.
I am working on an application that records project result data. Most of the database has been mapped out and is relatively straight forward. However, each project has its own unique subset of result data, somewhere between 2 and 15 intrinsic fields.
Currently there are 15 projects. And it is a certainty that new projects will be added in the future. Although there wouldn't be more than a few new projects added each year.
I see two options for recording this unique subset of result data:
1. Create a 1:1 table between project results and each sub-set of unique data.
2. Under each project create a template table that houses the sub-result questions to be asked, and under project results create a sub-result table that references these questions and allows a result to be recorded.
Considering the above, has anybody ever dealt with a similar scenario, or does anybody have any opinions/thoughts on the best path forward?
Happy to hear and discuss any opinions.
I am working on an application that records project result data. Most of the database has been mapped out and is relatively straight forward. However, each project has its own unique subset of result data, somewhere between 2 and 15 intrinsic fields.
Currently there are 15 projects. And it is a certainty that new projects will be added in the future. Although there wouldn't be more than a few new projects added each year.
I see two options for recording this unique subset of result data:
1. Create a 1:1 table between project results and each sub-set of unique data.
Pros: Data types, validation rules etc can be explicitly set.
Cons: There will be a significant overhead for each new project where a new table will need to be created (not to mention data entry forms etc).
2. Under each project create a template table that houses the sub-result questions to be asked, and under project results create a sub-result table that references these questions and allows a result to be recorded.
Pros: New projects would be simple to start - no new table/form etc
Cons: Data types, validation rules cannot be easily applied. The data will be recorded in a text field, meaning that combo boxes etc cannot be used.
Considering the above, has anybody ever dealt with a similar scenario, or does anybody have any opinions/thoughts on the best path forward?
Happy to hear and discuss any opinions.
Last edited: