B
Ben
Hi all,
I have a table with a column called priority. Each record (task) in this
table has a priority associated with it. For example, if there are 100 items
in the list, there are 100 priorities, from 1, 2, 3, ..., 100
However, there are times, when a user needs to re-prioritize some tasks, for
example:
Current Priority New Priority
1
2
3
4 1
5
6 5
7
8 2
that is, if there are 8 tasks, and I want re-prioritize, changing priority
from 4 to 1, 6 to 5 and 8 to 2. I want to know if there is a way in which
the rest of the tasks would automatically re-number themselves to :
Current Priority New Priority
1 3
2 4
3 6
4 1
5 7
6 5
7 8
8 2
Can you suggest a way in which I can dynamically re-number the priorities
based on what has been changed? That is the next priority would get shift
down by 1 in priority. Thanks in advance for sharing your thoughts.
Ben
I have a table with a column called priority. Each record (task) in this
table has a priority associated with it. For example, if there are 100 items
in the list, there are 100 priorities, from 1, 2, 3, ..., 100
However, there are times, when a user needs to re-prioritize some tasks, for
example:
Current Priority New Priority
1
2
3
4 1
5
6 5
7
8 2
that is, if there are 8 tasks, and I want re-prioritize, changing priority
from 4 to 1, 6 to 5 and 8 to 2. I want to know if there is a way in which
the rest of the tasks would automatically re-number themselves to :
Current Priority New Priority
1 3
2 4
3 6
4 1
5 7
6 5
7 8
8 2
Can you suggest a way in which I can dynamically re-number the priorities
based on what has been changed? That is the next priority would get shift
down by 1 in priority. Thanks in advance for sharing your thoughts.
Ben