While loop for date

While loop for date

  

Hi,

I need to have while loop for date so i that i could do processing on the particular date.

Can anyone help?

My psuedocode is as per below

While dteStartDate<=dteEndDate{

...my processing is here

dteStartDate=dteStartDate.AddDays(1);

}

Hi,


not sure what the problem might be, but you can do it with an if?


Solution

Hi Johnson Lim,

Like J. suggests, you can use an If for that... more to the point, it's actually described on the Developing OutSystems Web Applications training lesson on Actions and Code Reusability (around 4:01 on the video).

Solution

Thanks Jorge and J