<?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>Newbie Questions</title><link>https://www.infopathdev.com:443/forums/39.aspx</link><description>New to InfoPath? Search to see if your question has already been answered. If it has not, then ask it here or the appropriate topic forum.</description><dc:language>en</dc:language><generator>CommunityServer 2007 SP3 (Build: 31118.962)</generator><item><title>Re: Get Max ID</title><link>https://www.infopathdev.com:443/forums/thread/58260.aspx</link><pubDate>Tue, 24 Aug 2010 06:44:28 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:58260</guid><dc:creator>Patrick Halstead</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/58260.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=39&amp;PostID=58260</wfw:commentRss><description>&lt;p&gt;This isn&amp;#39;t a good way to do it since you could have two people submit at the same time.&lt;/p&gt;
&lt;p&gt;My recommendation is to submit the form and then query the SharePoint list to get the ID for the submitted form and set a field in your form and then submit again. In other words, your Submit button will do a submit, query, set and then another submit. &lt;/p&gt;</description></item><item><title>Get Max ID</title><link>https://www.infopathdev.com:443/forums/thread/58247.aspx</link><pubDate>Mon, 23 Aug 2010 19:27:16 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:58247</guid><dc:creator>new2Infopath</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/58247.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=39&amp;PostID=58247</wfw:commentRss><description>&lt;p&gt;Hello,&lt;/p&gt;&lt;p&gt;I am new to C# and infopath and I seek you help with the following scenario.&lt;br /&gt;&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;The form library to which my infopath is submitted has a column called PO #. which is of the format ####-yyyy-mm-dd-#. I wish to get the value of PO# column that corresponds to Max ID programmatically. What I have so far in the infopath form is a textfield and Get PO button that once clicked would like to populate the text field with the PO#. &lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;Thanks in advance. &lt;br /&gt;&lt;/p&gt;</description></item></channel></rss>