currentRow()

On Sep 8, 2012, at 2:33 AM, "Perkins, Bradley D" <[email protected]> wrote:

> When iterating over a rowset with next or previous is is possible to get the 
> row number?
> 
> For example I have a rowset that I'm displaying in a table, but in reverse 
> order.
> 
> This is replacing old code that didn't use a rowset and used a for loop. The 
> displayed table displays the row number, again in reverse order.
> 
> My current workaround is  to
> 
> $rowIndex := Rowset.rowCount($comments)
> 
> before displaying the rowset rows and display
> 
> $rowIndex--
> 
> in each row, but I'm curious if there is a command that directly provides the 
> current row index?
> 
> Thanks,
> 
> Brad Perkins
> _______________________________________________
> Active4D-dev mailing list
> [email protected]
> http://list.aparajitaworld.com/listinfo/active4d-dev
> Archives: http://active4d-nabble.aparajitaworld.com/

Regards,

   Aparajita

_______________________________________________
Active4D-dev mailing list
[email protected]
http://list.aparajitaworld.com/listinfo/active4d-dev
Archives: http://active4d-nabble.aparajitaworld.com/

Reply via email to