Create an integer counter outside your loop called Recno and increment it by one right inside the loop, at the top. Done.