C
Craig
I posted a database design question earlier, but am having trouble
determining what would be the best solution.
First of all, thanks to Tim F. for your insights regarding my earlier post.
The issue I'm having is one of format/display.
I have a form with 10 checkboxes (not an option group) that the user can
select one, or multiple checkboxes that correspond to a classification of
damages (ex., damages can be classified as related to "Lost Profits",
"Royalty", "Price Erosion", "Fees/Costs", etc., or any combination of these).
So, I have a check box for each one. Now, this means that I have to have a
field in the underlying table for each one. Not good DB design, but the I
think the checkbox option is easier for the user than the alternative.
The alternative, in my mind, would be to have a separate table called
"tblDamageClassification". Then, on the input form, have a subform
referencing this table with a combobox drop-down with the 10 choices. This
would create a nice 1:M relationship. Additionally - as Tim F. inquired in
my earlier post - what if we wanted to add an eleventh option? This
alternative would solve that problem. However, there may be other issues:
What if a user selects the same damage classification two or more times? Is
there a simple validation rule that can be applied either in the underlying
table design or the combobox itself?
I hope this makes sense. Thanks for any and all help. I appreciate your
time and efforts.
determining what would be the best solution.
First of all, thanks to Tim F. for your insights regarding my earlier post.
The issue I'm having is one of format/display.
I have a form with 10 checkboxes (not an option group) that the user can
select one, or multiple checkboxes that correspond to a classification of
damages (ex., damages can be classified as related to "Lost Profits",
"Royalty", "Price Erosion", "Fees/Costs", etc., or any combination of these).
So, I have a check box for each one. Now, this means that I have to have a
field in the underlying table for each one. Not good DB design, but the I
think the checkbox option is easier for the user than the alternative.
The alternative, in my mind, would be to have a separate table called
"tblDamageClassification". Then, on the input form, have a subform
referencing this table with a combobox drop-down with the 10 choices. This
would create a nice 1:M relationship. Additionally - as Tim F. inquired in
my earlier post - what if we wanted to add an eleventh option? This
alternative would solve that problem. However, there may be other issues:
What if a user selects the same damage classification two or more times? Is
there a simple validation rule that can be applied either in the underlying
table design or the combobox itself?
I hope this makes sense. Thanks for any and all help. I appreciate your
time and efforts.