Hi,
I'm trying to design a planner/weekly calendar form that shows items assigned to several people for each day on one screen.
Here's a schema of how I want to arrange this:
i63.tinypic.com/2reigzs.png
So far I've created a working concept up to PersonA, but can't figure out how to display PersonB/PersonC... below and make the whole thing scrollable.
I'm working with the following design assumptions:
1) The number of people will wary, and I will want to sort the order they appear on list dynamically (using SELECT queries with WHERE conditions)
2) Tasks (Task1, Task2) will be inserted into a 'Day container' as TextBox clones, the number will wary. Tasks will be populated and sorted using SELECT queries that pull data for (DATE & PERSON) and populate each 'Day container accordingly'.
The problem I have is, I can't nest a Continuous subform in another Continuous subform, according to Access limitations. Ideally 'Day containers' would be Continuous sub_forms listing Tasks for the Person. And ideally, PersonA/PersonB/PersonC... would be a continuous form as well, so that you can scroll up and don and view people's tasks by their names.
I think I can give up the Task1/Task2/Task3 container being a continuous form and instead generate the required amount of TextBoxes for Tasks programatically in VBA. Then I will make the main form continuous and be able to scroll and sort the list of people.
Now the questions:
1) Would anyone have a better suggestion on how to plan this arrangement?
2) I couldn't find much code for dynamically creating and destroying text boxes on a sub form, populating them with results of query against each person and date etc - has anyone encountered a code that achieves this?
3) It would be much easier if I could make the main form (People) continuous and nest in it 7 subforms with continuous list of bound TextBoxes - is there maybe a way to do it?
Thank you.
I'm trying to design a planner/weekly calendar form that shows items assigned to several people for each day on one screen.
Here's a schema of how I want to arrange this:
i63.tinypic.com/2reigzs.png
So far I've created a working concept up to PersonA, but can't figure out how to display PersonB/PersonC... below and make the whole thing scrollable.
I'm working with the following design assumptions:
1) The number of people will wary, and I will want to sort the order they appear on list dynamically (using SELECT queries with WHERE conditions)
2) Tasks (Task1, Task2) will be inserted into a 'Day container' as TextBox clones, the number will wary. Tasks will be populated and sorted using SELECT queries that pull data for (DATE & PERSON) and populate each 'Day container accordingly'.
The problem I have is, I can't nest a Continuous subform in another Continuous subform, according to Access limitations. Ideally 'Day containers' would be Continuous sub_forms listing Tasks for the Person. And ideally, PersonA/PersonB/PersonC... would be a continuous form as well, so that you can scroll up and don and view people's tasks by their names.
I think I can give up the Task1/Task2/Task3 container being a continuous form and instead generate the required amount of TextBoxes for Tasks programatically in VBA. Then I will make the main form continuous and be able to scroll and sort the list of people.
Now the questions:
1) Would anyone have a better suggestion on how to plan this arrangement?
2) I couldn't find much code for dynamically creating and destroying text boxes on a sub form, populating them with results of query against each person and date etc - has anyone encountered a code that achieves this?
3) It would be much easier if I could make the main form (People) continuous and nest in it 7 subforms with continuous list of bound TextBoxes - is there maybe a way to do it?
Thank you.
Last edited by a moderator: