<?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>SharePoint Integration</title><link>https://www.infopathdev.com:443/forums/46.aspx</link><description> For questions concerning issues in the integration of SharePoint and Microsoft InfoPath.</description><dc:language>en</dc:language><generator>CommunityServer 2007 SP3 (Build: 31118.962)</generator><item><title>Trouble getting web service data to appear every time</title><link>https://www.infopathdev.com:443/forums/thread/38647.aspx</link><pubDate>Thu, 19 Feb 2009 21:15:34 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:38647</guid><dc:creator>Tracie</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/38647.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=46&amp;PostID=38647</wfw:commentRss><description>&lt;p class="MsoNormal" style="MARGIN:0in 0in 0pt;"&gt;&lt;span style="FONT-SIZE:10pt;FONT-FAMILY:Arial;"&gt;I am working in SharePoint and InfoPath 2003 and would like to&amp;nbsp;assign each form an Auto Number.&amp;nbsp; &lt;/span&gt;&lt;span style="FONT-SIZE:10pt;FONT-FAMILY:Arial;"&gt;I have created a data connection named &amp;quot;Retrieve ID&amp;quot; to place the SharePoint ID number into an InfoPath form.&amp;nbsp; &lt;/span&gt;&lt;span style="FONT-SIZE:10pt;FONT-FAMILY:Arial;"&gt;The rule is to run the a query to pull the ID number and then set the field &amp;quot;Form ID&amp;quot; with the formula &amp;quot;max (@ID) + 1&amp;quot;.&lt;span style="mso-spacerun:yes;"&gt;&amp;nbsp; &lt;/span&gt;This ID appears when I go from Design Mode to Preview.&lt;span style="mso-spacerun:yes;"&gt;&amp;nbsp; &lt;/span&gt;However, when I go from the Home Page to the library, the ID field is blank.&lt;span style="mso-spacerun:yes;"&gt;&amp;nbsp; &lt;/span&gt;What can I do to ensure that the ID pulls every time the form is opened?&lt;/span&gt;&lt;/p&gt;</description></item></channel></rss>