• DAMN -- got it wrong! Know why? Because I over-thought the answer: I though that since the counter (@i) started at 0 and incremented to 499, there would never be a record with QOTDID = 500.

    Unfortunately, I forgot that the QOTDID field started at 1, so the very last record gets an id of 500.

    Damn, Sam!

    Thanks,
    - Joseph Marsh