TravelingCat
Registered User.
- Local time
- Today, 21:20
- Joined
- Feb 22, 2010
- Messages
- 42
Hello
I have a form (which is a subform) called frmAssignments. In the Form Header there's the "main" listbox, which contains assignments. Each assignment can have a subassignment, so when i click on one that has, another listbox opens (it was defined invisible before the click). In the same way, this subassignment can also have subassignment, and so on and so on. Let's say it can go up to 10 levels of subassignments (i don't believe it will be more than that). The question is, should i create 10 invisible listboxes, with the same code behind the click event and make them visible when needed, just as i did with this one? Or is there a way to do this more nicely? Some way that won't require all this code.
Will appreciate any suggestions
I have a form (which is a subform) called frmAssignments. In the Form Header there's the "main" listbox, which contains assignments. Each assignment can have a subassignment, so when i click on one that has, another listbox opens (it was defined invisible before the click). In the same way, this subassignment can also have subassignment, and so on and so on. Let's say it can go up to 10 levels of subassignments (i don't believe it will be more than that). The question is, should i create 10 invisible listboxes, with the same code behind the click event and make them visible when needed, just as i did with this one? Or is there a way to do this more nicely? Some way that won't require all this code.
Will appreciate any suggestions