I need some ideas for how to implement something I'm trying to do. I have one idea but I was hoping there might be a better way to do it.
I have a table full of Codes with information on each code. And then a table full of Rules. Each code can have multiple rules associated with them. And rules can be associated with multiple codes.
So I need a way, on a form, to pull up the Code and then relate which rules apply to it. The only idea I can think of right now is to have the code pull up, then have a check box for each rule, and the user can go check each box (rule) that applies to that Code. This seems like it's not very dynamic though. It won't accommodate for the addition of new rules, and if there becomes a lot of rules, there's going to be too many check boxes that its overwhelming. Also, It seems like if I did it this way, I would need a field in my Codes table for each Rule that is a Yes/No that is controlled by the Check Box.
I'm thinking there must be a better way to implement this. Any ideas? Thanks.
I have a table full of Codes with information on each code. And then a table full of Rules. Each code can have multiple rules associated with them. And rules can be associated with multiple codes.
So I need a way, on a form, to pull up the Code and then relate which rules apply to it. The only idea I can think of right now is to have the code pull up, then have a check box for each rule, and the user can go check each box (rule) that applies to that Code. This seems like it's not very dynamic though. It won't accommodate for the addition of new rules, and if there becomes a lot of rules, there's going to be too many check boxes that its overwhelming. Also, It seems like if I did it this way, I would need a field in my Codes table for each Rule that is a Yes/No that is controlled by the Check Box.
I'm thinking there must be a better way to implement this. Any ideas? Thanks.