I have a tabular form based on a select query which simply displays 7 names along with their corresponding SortOrder numbered 1-7. Something like this:
SortOrder Name
1 John
2 Fred
3 Jane
4 Joe
5 Henry
6 James
7 Lisa
I'd like to be able to either double click a name or press a control button next to the name to change its SortOrder value to 1 and increment the others accordingly. For example, if I want Jane to be first (i.e. SortOrder = 1), the table would now look like:
SortOrder Name
6 John
7 Fred
1 Jane
2 Joe
3 Henry
4 James
5 Lisa
Notice how the person before and after are always the same, it's just a way of denoting who starts first.
Any ideas? Thank you.
SortOrder Name
1 John
2 Fred
3 Jane
4 Joe
5 Henry
6 James
7 Lisa
I'd like to be able to either double click a name or press a control button next to the name to change its SortOrder value to 1 and increment the others accordingly. For example, if I want Jane to be first (i.e. SortOrder = 1), the table would now look like:
SortOrder Name
6 John
7 Fred
1 Jane
2 Joe
3 Henry
4 James
5 Lisa
Notice how the person before and after are always the same, it's just a way of denoting who starts first.
Any ideas? Thank you.