<?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: counter when the form open</title><link>https://www.infopathdev.com:443/forums/thread/66158.aspx</link><pubDate>Wed, 27 Apr 2011 09:51:44 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:66158</guid><dc:creator>Jolya</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/66158.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=66158</wfw:commentRss><description>&lt;p&gt;ErnestoM... many thanks for you advice&lt;/p&gt;
&lt;p&gt;&amp;nbsp;i have tried another approch as Clayton descriped here &lt;a href="http://claytoncobb.wordpress.com/2009/06/15/auto-numbering-infopath-forms/"&gt;http://claytoncobb.wordpress.com/2009/06/15/auto-numbering-infopath-forms/&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;and it is work fine....just i used a custom page after the user&amp;nbsp;submit&amp;nbsp;the form, so he will not go to the form library.&lt;/p&gt;
&lt;p&gt;many thanks&lt;/p&gt;</description></item><item><title>Re: counter when the form open</title><link>https://www.infopathdev.com:443/forums/thread/66132.aspx</link><pubDate>Mon, 25 Apr 2011 12:48:14 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:66132</guid><dc:creator>ErnestoM</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/66132.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=66132</wfw:commentRss><description>&lt;p&gt;An incremental number would probably require code. Think about the possibilities: what if the user closes the form without saving or submitting? You would need to reset the &amp;quot;next available&amp;quot; number. What if two users open the form at the same time? You&amp;#39;ll need to have one of the users get x and the other user get x+1. So, in summary, I don&amp;#39;t think on load rules are enough, and I believe you&amp;#39;ll need to turn to custom code, since it is not a trivial scenario. Good luck!&lt;br /&gt;&lt;/p&gt;</description></item><item><title>counter when the form open</title><link>https://www.infopathdev.com:443/forums/thread/66130.aspx</link><pubDate>Mon, 25 Apr 2011 10:13:04 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:66130</guid><dc:creator>Jolya</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/66130.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=66130</wfw:commentRss><description>&lt;p style="MARGIN:0in 0in 0pt;" class="MsoNormal"&gt;&lt;span&gt;&lt;font size="3" face="Times New Roman"&gt;Hi,&lt;/font&gt;&lt;/span&gt;&lt;/p&gt;&lt;span&gt;&lt;font size="3" face="Times New Roman"&gt;&amp;nbsp;&lt;/font&gt;&lt;/span&gt; 
&lt;p style="MARGIN:0in 0in 0pt;" class="MsoNormal"&gt;&lt;span&gt;&lt;font size="3" face="Times New Roman"&gt;I have InfoPath form in SharePoint library which allow users to open and fill up the form then print it out but not allow submitting or saving in the library. I have one last requirement to create counter field in the form. This counter should give incremental/ unique number each time the user open the form. &lt;/font&gt;&lt;/span&gt;&lt;/p&gt;&lt;span&gt;&lt;font size="3" face="Times New Roman"&gt;&amp;nbsp;&lt;/font&gt;&lt;/span&gt; 
&lt;p style="MARGIN:0in 0in 0pt;" class="MsoNormal"&gt;&lt;span&gt;&lt;font size="3" face="Times New Roman"&gt;The idea is to have a unique number in that field each time the form is opened or previewed. I am thinking of create a rule on-load event that increment that field.&lt;/font&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p style="MARGIN:0in 0in 0pt;" class="MsoNormal"&gt;&lt;span&gt;&lt;/span&gt;&amp;nbsp;&lt;/p&gt;
&lt;p style="MARGIN:0in 0in 0pt;" class="MsoNormal"&gt;&lt;span&gt;&lt;font size="3" face="Times New Roman"&gt;Im new to infopath I don’t know how to accomplish this…please help!&lt;/font&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;</description></item></channel></rss>