Problem

This problem has been driving me nuts all day.

I have a list. Each item in this list has a sequence value, starting from 1.

I have a form to change the sequence of the items in the list. You can type in the sequence number to set it.

So, coming into my script I have the following data:

Unique IDOld SeqNew Seq
foo11
bar25
baz33
qux44
quuux55
shazbot66

So, bar needs to go from 2 to 5, and all other values between 2 and 5 need to be renumbered. Why can’t I solve this frickin’ problem?

Today I found out that one of my classmates from UTS, Anthony Chan, passed away suddenly on Monday.

 

3 replies


  1. So how would it work then? Would quuux become 2, or would it push new values down the list (ie: 3 becomes 2, 4-3, 5-4)?


  2. Hi Victor,

    Do you know what happend to Anthony? How he passed away so suddenly?


  3. I’m really sorry to hear that.

    And kinda freaked. Andrew Frow, from Elisha’s class (2001), passed away just a couple of months back.

    I might see you at the funeral/viewing on Saturday if you’re there.