I'm not sure I fully understand the question, but, if you look at the run options for the script, what values do you have in the 'start row' and 'end row' for the script? If you have a start row of 1 and an end row of 25, that would explain why it only runs 25 records.
------------------------------
Jeremie Dippel
Project Engineer @ Rockwell Automation
Wisconsin Local Wug Leader
I'm your huckleberry.
------------------------------