Autonumbering a SharePoint list - InfoPath Dev
in

InfoPath Dev

Use our Google Custom Search for best site search results.

Autonumbering a SharePoint list

Last post 12-19-2013 10:19 AM by gjohnso. 2 replies.
Page 1 of 1 (3 items)
Sort Posts: Previous Next
  • 12-18-2013 04:33 PM

    • gjohnso
    • Not Ranked
      Female
    • Joined on 09-04-2012
    • Ephrata, WA
    • Posts 12

    Autonumbering a SharePoint list

    I have pulled data in from Access and created a SharePoint list. I would like to add items to the list and continue the numbering from the TA numbers that were in access but just adding 1 for each new item in the list. I know I can add more lines in the list and SharePoint would create an ID for me but it wouldn't match the numbers that are already there. I would like to be able to do this with the InfoPath form SharePoint created for me but I have not been able to figure out how to get it done. Is the form SharePoint created too limited?
    Filed under: ,
  • 12-18-2013 05:58 PM In reply to

    Re: Autonumbering a SharePoint list

    Right before the form submits, you could query the list, get the max TA number and add one to it. The concern is that you need to do this right before you submit, or you could end up with two forms with the same number - say you do this on open, and the highest TA number right now is 10. Joe opens the form, and on open is assigned number 11. But before Joe submits, Sally opens the form. She also is assigned 11....

    Hilary Stoupa

  • 12-19-2013 10:19 AM In reply to

    • gjohnso
    • Not Ranked
      Female
    • Joined on 09-04-2012
    • Ephrata, WA
    • Posts 12

    Re: Autonumbering a SharePoint list

    Thanks for the reply. That makes sense. Would I get the max TA with a data source or with a look-up field on the form?  In the datasource I only see a way to query the whole list. And if it is a look-up field I don't know how to do it right before saving back to the list.

    Filed under:
Page 1 of 1 (3 items)
Copyright © 2003-2019 Qdabra Software. All rights reserved.
View our Terms of Use.