Can't create a solution for this kind of loop...

Can't create a solution for this kind of loop...

I used to find solutions for loops in various situations, but now I am stuck...

I need to automatically fill new database table (form) with multiple records. One record represent one calendar day. Records shall start from user-defined StartDate and finish with FinishDate. 
For instance, 
07/12/2015 ... 
08/12/2015 ... 
09/12/2015 ...
This will be used to calculate some statistics for each day, and to print a report / chart. 

Typically, I code similar loops through recurring function. Hope you've done it, so I do not explain details (if required - I'll do it). 

However, in this case, total interval is expected to be somewhere from 6 to 36 month, i.e. 180-1100 days, maybe even more. Zoho fails to run a function with so many recurrent calls.

Any idea how to make it anyway?