Support

Account

Home Forums General Issues Reverse order, get last row… Reply To: Reverse order, get last row…

  • You initialize the counter before you’re loop. You put the if statement at the start of your loop. You increment the counter at the end of the loop.

    This will show the first X items set by the if statement. Since you are reversing the order of the repeater this means it will show the last X items in reverse order. You can set X for whatever number you want to show. It will show up to that number, so if there are only 2 items then it would only show 2.