grendell2099
Registered User.
- Local time
- Yesterday, 23:10
- Joined
- Aug 9, 2006
- Messages
- 29
Hi all. I am planning a new project and am hoping to get some help with some of
the functionality I am struggling with. Thanks in advance for your input...
THE PROJECT: Organizing task instructions for various "stations".
There are a number of stations where tasks are performed, call them A, B, C, D, etc.
Each station has a number of tasks that must be completed, call them t1, t2, t3, etc.
Each task has a number of steps involved, call them s1, s2, s3, etc.
So small snapshot might look like this:
A
--t1
----s1
----s2
--t2
----s1
--t3
----s1
B
--t1
----s1
----s2
----s3
Organizing this into tables (stations, tasks, and steps) and keeping track of it is pretty
straight forward (each record will have a unique code generated table id).
Now for the part I need help on- from time to time users will have to reorganize the tasks
performed at a given station:
A-t3 task now needs to be performed first so it becomes A-t1
or the steps perfomed in a given task:
B-t1-s3 step now needs to be performed first so it becomes B-t1-s1
In both scenarios the other tasks/ steps would need to be renumbered accordingly (the table id's
would not be affected).
In a perfect world the user would be able to look at a station/task and view all of its tasks/steps,
dragging and dropping to reorder them. Or maybe some type of "bump up/down" ability...
I would greatly appreciate any tips/ ideas on how to approach this. I am thinking along the lines
of importing the tasks/ steps into a temp table for edit, them updating the "real" table after the user
has finished. Even if this is the best approach, I am stuck on how to work with the records in the
temp tables...
the functionality I am struggling with. Thanks in advance for your input...
THE PROJECT: Organizing task instructions for various "stations".
There are a number of stations where tasks are performed, call them A, B, C, D, etc.
Each station has a number of tasks that must be completed, call them t1, t2, t3, etc.
Each task has a number of steps involved, call them s1, s2, s3, etc.
So small snapshot might look like this:
A
--t1
----s1
----s2
--t2
----s1
--t3
----s1
B
--t1
----s1
----s2
----s3
Organizing this into tables (stations, tasks, and steps) and keeping track of it is pretty
straight forward (each record will have a unique code generated table id).
Now for the part I need help on- from time to time users will have to reorganize the tasks
performed at a given station:
A-t3 task now needs to be performed first so it becomes A-t1
or the steps perfomed in a given task:
B-t1-s3 step now needs to be performed first so it becomes B-t1-s1
In both scenarios the other tasks/ steps would need to be renumbered accordingly (the table id's
would not be affected).
In a perfect world the user would be able to look at a station/task and view all of its tasks/steps,
dragging and dropping to reorder them. Or maybe some type of "bump up/down" ability...
I would greatly appreciate any tips/ ideas on how to approach this. I am thinking along the lines
of importing the tasks/ steps into a temp table for edit, them updating the "real" table after the user
has finished. Even if this is the best approach, I am stuck on how to work with the records in the
temp tables...