i was trying to execute this algorithm:

for x = 0 to 10
x <-- this part should print the value

i was expecting that in the report, it will display the numbers 0 to 10 but it only displays the last value

i was hoping to use this in my recordset containing date range. in my recordset, not all the dates are included (e.g. 01/01/2006 - 01/05/2006 and the available dates are that of 1,3,5). i need to print all the dates in the range.

is there any way to do this?