While cicles using if widget

While cicles using if widget

  
Is it possible when I am iterating a record list in an If (Just like a C# While) to use the attribute CurrentRowNumber has the iterator?

Thanks

Nuno Mendes
Hi Nuno,

If you are using a 'For Each' element for iterating your RecordList, then CurrentRowNumber will work as expected - see the full description below:

http://www.outsystems.com/help/servicestudio/7.0/Default.htm#language_reference/record_list_runtime_properties.htm

However, if you are *not* using a 'For Each', and instead are iterating with some custom logic, you cannot rely on CurrentRowNumber.

Hope this helps.
Cheers,
Paulo Ramos
Ok,

Thanks for your answer. I have already changed the way I was iterating the While and it works just fine.

Nuno Mendes