<?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: data connect issue</title><link>https://www.infopathdev.com:443/forums/thread/94712.aspx</link><pubDate>Wed, 11 Dec 2013 08:01:06 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:94712</guid><dc:creator>Mo Alshorbaji</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/94712.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=39&amp;PostID=94712</wfw:commentRss><description>&lt;p&gt;&amp;nbsp;Hi,&lt;/p&gt;&lt;p&gt;&amp;nbsp;Well what you can do&amp;nbsp;is&amp;nbsp;create a refresh button that will retrieve the new count of the&amp;nbsp;library every time you click it.&lt;/p&gt;&lt;p&gt;&amp;nbsp;All you have to do is add a Button then add a rule &amp;quot;Set a field&amp;#39;s Value&amp;quot;. &amp;quot;Field&amp;quot; being the textbox in which you want the number displayed ( in your case the one fitted with the count(ID) formula).&lt;/p&gt;&lt;p&gt;&amp;nbsp;and &amp;quot;Value&amp;quot; should be set at &amp;quot;count(ID)&amp;quot; the ID field being the one from your Data connection.&lt;/p&gt;&lt;p&gt;Now add another action &amp;nbsp;to the same rule to &amp;quot;Query for Data&amp;quot; using that same Data connection and you should be set.&lt;/p&gt;</description></item><item><title>data connect issue</title><link>https://www.infopathdev.com:443/forums/thread/81465.aspx</link><pubDate>Tue, 07 Aug 2012 17:41:45 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:81465</guid><dc:creator>rasensage</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/81465.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=39&amp;PostID=81465</wfw:commentRss><description>&lt;p&gt;I am trying to count the number of items in a document library using infopath. I can do that if I create a receive data connection. However,&amp;nbsp; if I add another file to the library then the item count would not change because data is saved in th form template.&lt;/p&gt;
&lt;p&gt;I was using count(@ID)&lt;/p&gt;
&lt;p&gt;Does anyone know how I can do it real time, so that when the item numbers change in the library, I can click refesh on the form and the correct number will show up and I do not have to manually modify the data connection.&lt;/p&gt;</description></item></channel></rss>