Hi Shree
Thanks. I ran the same code and got the same results as you.
I am using Rev 68 and will update to 70 tonight.
I noticed you had "WHILE :VAR_1 > 0 DO" instead "WHILE VAR_1 > 0 DO". I made this change in my original code and this did not make a difference - still no rows of data. I was hoping it would be as simple as this ; )
Could it be that in your code we only use VAR_1. First in the While Do and then second we iterate on it by subtracting one.?
This is in comparison having VAR_2 in the While Do and iterate using VAR_1. Plus I am using data from the table to calculate VAR_2.
Do I need to be doing more with VAR_2?
Thanks again!