Hi all,
I'm currently in process of setting up an issue tracking DB which has a main table, a table of issues (approx. 6-10 items), and a table of causes (approx 10=20 items).
The Issues table has 2 fields: the issue description and an Issue Identifier (I1, I2...)
The causes table has a text field for the cause description, and boolean fields for each issue (fields called I1, I2...) Then for each cause I set the value of I1-Ix for each issue as to whether that cause applies to that issue.
There is no relationship currently specified between the issue table and cause table. (I *know* there's a better way to do this, but at least this works for now -- any pointers would be great!)
My main input form is set up with a series of combo boxes in Issue/Cause pairs. The full list of issues is in the first box, and I set the range of the second based on the issue selected using the AfterUpdate event with code like this:
A bit of a kludge, but it does work (again, I'd love some ideas on how to make this better).
I'd also like to know what the best way to set up the relationships between the issues and causes would be (including the best way to set the "flags" for which causes apply to each issue -- right now I just set them in datasheet mode, which is a bit awkward).
Thanks for any help you can provide!
asp
I'm currently in process of setting up an issue tracking DB which has a main table, a table of issues (approx. 6-10 items), and a table of causes (approx 10=20 items).
The Issues table has 2 fields: the issue description and an Issue Identifier (I1, I2...)
The causes table has a text field for the cause description, and boolean fields for each issue (fields called I1, I2...) Then for each cause I set the value of I1-Ix for each issue as to whether that cause applies to that issue.
There is no relationship currently specified between the issue table and cause table. (I *know* there's a better way to do this, but at least this works for now -- any pointers would be great!)
My main input form is set up with a series of combo boxes in Issue/Cause pairs. The full list of issues is in the first box, and I set the range of the second based on the issue selected using the AfterUpdate event with code like this:
Code:
strsql = "Select [causes] from [causes List] where " & Me.Issue1.Column(1)
Me.Cause1.RowSource = strsql
Me.Cause1.Requery
A bit of a kludge, but it does work (again, I'd love some ideas on how to make this better).
I'd also like to know what the best way to set up the relationships between the issues and causes would be (including the best way to set the "flags" for which causes apply to each issue -- right now I just set them in datasheet mode, which is a bit awkward).
Thanks for any help you can provide!
asp