I think he had an integer and wanted to increase it in each loop, not just get the loop cycle. stephen