<?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: Integer error in Sharepoint 2010.</title><link>https://www.infopathdev.com:443/forums/thread/84107.aspx</link><pubDate>Thu, 01 Nov 2012 18:40:49 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:84107</guid><dc:creator>komarag</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/84107.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=84107</wfw:commentRss><description>&lt;p&gt;I added another rule for handling 0 and blanks...if the retrieve value is 0 or blank, keep the value to default value....it worked. I am able to retrieve the max value.&lt;/p&gt;</description></item><item><title>Re: Integer error in Sharepoint 2010.</title><link>https://www.infopathdev.com:443/forums/thread/84101.aspx</link><pubDate>Thu, 01 Nov 2012 18:03:54 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:84101</guid><dc:creator>Hilary Stoupa</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/84101.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=84101</wfw:commentRss><description>So, what I think is that your second rule is not returning what you expect. I would add another button for testing with just rule 1 and 2 on it. I&amp;#39;d make sure the data source queried in rule 1 is on the form so I can see the values. That will help you troubleshoot.</description></item><item><title>Re: Integer error in Sharepoint 2010.</title><link>https://www.infopathdev.com:443/forums/thread/84099.aspx</link><pubDate>Thu, 01 Nov 2012 16:26:56 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:84099</guid><dc:creator>komarag</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/84099.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=84099</wfw:commentRss><description>&lt;p&gt;Defined Autonumber &amp;nbsp;as Whole Number (Integer), default to 100. &lt;/p&gt;
&lt;p&gt;In the Submit button, the action rules are set like this..&lt;/p&gt;
&lt;p&gt;1.&amp;nbsp; Data connection to the sharepoint list that has Autonumber field. Selected Autonumber from data elements from that connection.&lt;/p&gt;
&lt;p&gt;2.&amp;nbsp;&amp;nbsp; condition&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Autonumber&amp;gt;=100&lt;/p&gt;
&lt;p&gt;&amp;nbsp;AutoNumber =&amp;nbsp; max(Auto_x0020_Number) + 1&amp;nbsp;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;3. submit data connection to the list.&amp;nbsp; I have a filename variable in the submit data connection as concat(&amp;quot;filename-&amp;quot;, Autonumber).&amp;nbsp; The list is submitted with this file name. &lt;/p&gt;
&lt;p&gt;&amp;nbsp;Before submit button is clicked, I see the values in the form for the fields, &amp;nbsp;Auto Number as 100, file name as &amp;quot;Filename-100&amp;quot;.&lt;/p&gt;
&lt;p&gt;Once the submit is clicked, I am seeing the Values as Auto Number as NaN, file name as &amp;quot;Filename-NaN&amp;quot;. That&amp;#39;s where I am getting this error. &lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;
&lt;table style="TABLE-LAYOUT:fixed;"&gt;

&lt;tr&gt;
&lt;td id="ErrorDialogShortMessage" class="ErrorPageNormalText"&gt;The form cannot be submitted because it contains validation errors. Errors are marked with either a red asterisk (required fields) or a red, dashed border (invalid values). Field or group: my:AutoNumberError: Only integers allowed &lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;
&lt;td class="ErrorPageNormalText"&gt;Click &lt;b&gt;OK&lt;/b&gt; to resume filling out the form. You may want to check your form data for errors.&lt;/td&gt;&lt;/tr&gt;&lt;/table&gt;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;</description></item><item><title>Re: Integer error in Sharepoint 2010.</title><link>https://www.infopathdev.com:443/forums/thread/84095.aspx</link><pubDate>Thu, 01 Nov 2012 15:50:15 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:84095</guid><dc:creator>Hilary Stoupa</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/84095.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=84095</wfw:commentRss><description>Hi - what is your rule that is setting the form field? Are there any other rules that may be affecting it? Drag your SharePoint list data connection onto the form and verify the values in the column are what you think they will be....</description></item><item><title>Integer error in Sharepoint 2010.</title><link>https://www.infopathdev.com:443/forums/thread/84087.aspx</link><pubDate>Thu, 01 Nov 2012 15:14:35 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:84087</guid><dc:creator>komarag</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/84087.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=84087</wfw:commentRss><description>&lt;p&gt;I have a created a form with the following fields...&lt;/p&gt;
&lt;p&gt;Autonumber&amp;nbsp; (Integer) default value 100. &lt;/p&gt;
&lt;p&gt;Filename&amp;nbsp;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;I am posting the form to sharepoint list with &amp;quot;Autonumber&amp;quot; field. &lt;/p&gt;
&lt;p&gt;when I submit&amp;nbsp;the form, Here are my steps.&lt;/p&gt;
&lt;p&gt;1.&amp;nbsp;Query the sharepoint list on autonumber field&lt;/p&gt;
&lt;p&gt;2. updated the Form Field &amp;quot;Autonumber&amp;quot; with Sharepoint list Max(Autonumber) and increment by 1.&lt;/p&gt;
&lt;p&gt;3. Write the filename...This will create a new list item with different file name. &lt;/p&gt;
&lt;p&gt;When i submit the form, Here are my observations..&lt;/p&gt;
&lt;p&gt;Before executing the step2, the data in the autonumber is 100. After the call to the sharepoint list, it is marking as spaces. The error i am getting is &amp;quot; Only Integers are allowed&amp;quot;. &lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Any help is appreciated.&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;</description></item></channel></rss>