Read a sharepoint list in order

R

regorsonofgor1

I cannot seem to figure out how to do this.

I have a sharepoint list that is in alphabetical order that contains a
persons first name , last name and number associated with that person.

I want to place these numbers into a field in the infopath form in
alphabetical order by the persons last name.

I am thinking something like, look at the first item in the list, get
the number, then put this in a variable, read the next item in the
list. I am stumped as to how to get to the next item in the sharepoint
list.

I am using jscript in my forms.

I am familiar with how to look up data and filter the data with code,
just not sure how to figure out how to read in the data in the order
that list is in.

Thanks
Roger
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top