I rewrote the code to use the for loop. I got the same problem at first (all null values in the attribute table), I went into field calculator and closed it without entering any code and VOILA, the correct values were in the table.
I'm not sure if they would have been had I gone into the field calculator after running the while loop or not, but success none the less.
Is there any "refresh" method that would fix this??
Thanks again!