Does $counter have a value?
BTW - This script step:
Set Variable [ $counter ; Value: $start ]
should be outside your loop. Otherwise, you're going to create an unbounded loop condition.
seems to me like the URDU::start field is empty when you are running the script.
thanks .. the counter was pulling a blank value .. fixed it by passsing a global variable $$start
If you're passing a variable to set a variable you may be setting yourself up for failure.
If all of your numbers are sequential starting with 1, why not just use:
This way $counter will always start with one and increment by one until you reach your exit condition. It is not dependent on any other fields or variables, and doesn't add a global variable to the mix.
OK .. I will do that