• Well, I finally got everything to work. As I said before, I completely misunderstood the ROW_NUMBER function. Once I had that done, I was able to get the whole piece working. Not the prettiest code I have ever written, but functional.

    Thanks!