<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="https://www.infopathdev.com:443/utility/FeedStylesheets/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/"><channel><title>General</title><link>https://www.infopathdev.com:443/forums/41.aspx</link><description>If you're not sure where to ask your question, ask it here. If necessary, our moderators will make sure it gets classified in the correct board.</description><dc:language>en</dc:language><generator>CommunityServer 2007 SP3 (Build: 31118.962)</generator><item><title>Re: Add 1 to last ID number</title><link>https://www.infopathdev.com:443/forums/thread/109084.aspx</link><pubDate>Fri, 06 Jan 2017 17:25:20 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:109084</guid><dc:creator>Hilary Stoupa</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/109084.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=109084</wfw:commentRss><description>It is possible - query the list to get all items back, sort by ID desc. so that the first item will be the highest number, and add one to it. You need to be aware that if multiple users are querying the list at the same time you have a chance of more than one getting the same number. http://www.bizsupportonline.net/browserforms/autonumber-infopath-form-submitted-sharepoint-library.htm may help you as well.</description></item><item><title>Add 1 to last ID number</title><link>https://www.infopathdev.com:443/forums/thread/109056.aspx</link><pubDate>Thu, 05 Jan 2017 16:17:57 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:109056</guid><dc:creator>ToniCarrera</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/109056.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=109056</wfw:commentRss><description>I have an ID number in a SharePoint list that currently is manually assigned when a user creates a new entry. I am creating a form in InfoPath 2016 that is just a pretty front end window for data entry. I have some cascading Listboxes that I am using. What I would like to be able to do, if possible, is get the ID box to look at the last value in the list and automatically add one.

So the flow would be;

1. User opens &amp;#39;Add new entry&amp;#39;
2. InfoPath form opens
3. Form looks at the last/highest ID that already exists in the SP List and adds one

How would I achieve this if it is at all possible to do????

Thanks in advance

TC</description></item></channel></rss>