jiblankman
Registered User.
- Local time
- Yesterday, 22:20
- Joined
- May 27, 2008
- Messages
- 43
I am trying to make a form that is user friendly and easy to expand. I have the following table:
[Panels]
PanelNo - unique number
CatA - yes/no
CatB - yes/no
CatC - yes/no
PanelNo 1 = CatA CatB
PanelNo 2 = CatA CatC
PanelNo 3 = CatA CatB CatC
I have fields on a form for each of PanelNo, CatA, CatB and CatC. I want to use [Panels] as a lookup table for the Form [TestResults]. For example, I want CatA and CatB to be visible and have a default value if PanelNo 1 is selected from a combobox. I want CatA and CatC to be visible if PanelNo 2 is selected and have CatB hidden. The show/hide should change with each record in the form.
The actual table has 15 Panels and 18 Categories that have some overlap and some unique. I do not want the unused fields to be visible (or editable) to the user.
I have been able to programmatically set this up but it is difficult to add new categories to, which happens once or twice a year. Ideally, I would only need to add a new PanelNo to the table and a field to the form (if needed).
Any ideas would be greatly appreciated. If there is a better way to handle this, please let me know. Thanks.
[Panels]
PanelNo - unique number
CatA - yes/no
CatB - yes/no
CatC - yes/no
PanelNo 1 = CatA CatB
PanelNo 2 = CatA CatC
PanelNo 3 = CatA CatB CatC
I have fields on a form for each of PanelNo, CatA, CatB and CatC. I want to use [Panels] as a lookup table for the Form [TestResults]. For example, I want CatA and CatB to be visible and have a default value if PanelNo 1 is selected from a combobox. I want CatA and CatC to be visible if PanelNo 2 is selected and have CatB hidden. The show/hide should change with each record in the form.
The actual table has 15 Panels and 18 Categories that have some overlap and some unique. I do not want the unused fields to be visible (or editable) to the user.
I have been able to programmatically set this up but it is difficult to add new categories to, which happens once or twice a year. Ideally, I would only need to add a new PanelNo to the table and a field to the form (if needed).
Any ideas would be greatly appreciated. If there is a better way to handle this, please let me know. Thanks.