Okay, let me be more specific. I do understand the basic concepts that you both are discussing...perhaps where my knowledge is lacking is with regards to sorting. I'm building a little testing solution. I have two layouts for questions, one for True/False, and the other for Multiple Choice. The "builder" of the test can create a test using T/F or M/C in any order they wish (e.g. Question #1 T/F, #2 M/C, #3 M/C, #4 T/F...).
When a student takes the test, I have a script that "looks ahead" to determine if the next question is T/F or M/C and based on that info displays the appropriate layout. Works fine.
In making the "admin" side of this more robust, I thought it would be nice for the builder to be able to go back into a created test and edit and/or delete questions, as well as insert new questions. I figured out the edit and deleting functions. It was the insert function where I got stumpted, hence my question.
Let's say the builder wanted to add a new question "in between" question #5 and #6 (thus making the new question #6 and the old #6 becomes #7 and so on). That's why I wanted to be able to "insert" a new record as opposed to it adding on to the "end" of the record set.
Now perhaps I'm thinking about this all wrong...which wouldn't be the first time. But this is how I have it set up at the moment. I will look into Sorting a bit more closely to see if there is a way to track this that way. But if anyone has any other suggestions, etc. it would be appreciated. Thanks!