rec = Contact [ID != 0] sort by Added_Time range from 1 to 5;
My test function code:
int test.test_count(int start, int end, int position)
{
rep_count = 0;
rep_list = List();
for each r in new_form [ID != 0] sort by first_name range from input.start to input.end
{
rep_count = (rep_count + 1);
rep_list.add(r.first_name);
}
info (("first_name in position" + input.position + " is " + rep_list.get(input.position)) + " then the list=") + rep_list;
return rep_count;}
}
I swear there is a problem with the range argument in the fetch record system.
However, I WANT TO BE WRONG. PLEASE TELL ME. WHAT I AM DOING WRONG.
I tested 3 different applications in 3 different accounts with many many different collection fields and sort ranges.
LINK TO A PUBLIC APPLICATION FOR TESTING...