<?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: Autonumbering within a repeating table</title><link>https://www.infopathdev.com:443/forums/thread/75608.aspx</link><pubDate>Wed, 22 Feb 2012 18:19:01 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:75608</guid><dc:creator>karson6</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/75608.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=75608</wfw:commentRss><description>&lt;p&gt;Ok - the Edit XPath was the difference.&amp;nbsp; I tried to duplicate this function in the Improvements repeating table below and was getting the exact same error.&amp;nbsp; I had added the &amp;quot;../&amp;quot; manually and InfoPath didn&amp;#39;t like it.&amp;nbsp; When I click on the Edit XPath button, the ../ is added automatically and I was able to Apply the change to the text box without error.&lt;/p&gt;
&lt;p&gt;Thanks!&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;</description></item><item><title>Re: Autonumbering within a repeating table</title><link>https://www.infopathdev.com:443/forums/thread/75606.aspx</link><pubDate>Wed, 22 Feb 2012 17:57:33 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:75606</guid><dc:creator>Hilary Stoupa</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/75606.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=75606</wfw:commentRss><description>&lt;p&gt;Oh, and select Edit XPath in the formula editor - did you have the initial &amp;quot;../&amp;quot; before preceding-sibling?&lt;/p&gt;</description></item><item><title>Re: Autonumbering within a repeating table</title><link>https://www.infopathdev.com:443/forums/thread/75605.aspx</link><pubDate>Wed, 22 Feb 2012 17:52:51 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:75605</guid><dc:creator>Hilary Stoupa</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/75605.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=75605</wfw:commentRss><description>&lt;p&gt;Honestly, without seeing what you were doing, I&amp;#39;m just not sure....&lt;/p&gt;</description></item><item><title>Re: Autonumbering within a repeating table</title><link>https://www.infopathdev.com:443/forums/thread/75604.aspx</link><pubDate>Wed, 22 Feb 2012 17:45:21 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:75604</guid><dc:creator>karson6</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/75604.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=75604</wfw:commentRss><description>&lt;p&gt;Thanks Hilary - I was able to open it and see it is working.&amp;nbsp; What is confusing though, is what you were able to place in the default value for landNumber via the fx button is exactly the same as I tried enter via the fx button.&amp;nbsp; I checked my original post to see what was different and the syntax is identical.&amp;nbsp; What could I have been doing wrong to get the data type error?&lt;/p&gt;
&lt;p&gt;Thanks again!&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;</description></item><item><title>Re: Autonumbering within a repeating table</title><link>https://www.infopathdev.com:443/forums/thread/75598.aspx</link><pubDate>Wed, 22 Feb 2012 16:52:42 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:75598</guid><dc:creator>Hilary Stoupa</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/75598.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=75598</wfw:commentRss><description>&lt;p&gt;See attached. You&amp;#39;ll need to save the form locally, right click the template and select design to open in design mode - from there you can re-save&amp;nbsp;/ preview / etc. &lt;/p&gt;</description></item><item><title>Re: Autonumbering within a repeating table</title><link>https://www.infopathdev.com:443/forums/thread/75581.aspx</link><pubDate>Wed, 22 Feb 2012 12:16:39 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:75581</guid><dc:creator>karson6</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/75581.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=75581</wfw:commentRss><description>&lt;p&gt;Sorry it took me so long to get back to this problem.&amp;nbsp; I attached the form.&amp;nbsp; I am trying to get the autonumbering within the landNumber field within the Land Estimate repeating table.&lt;/p&gt;
&lt;p&gt;Thanks for your help!&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;</description></item><item><title>Re: Autonumbering within a repeating table</title><link>https://www.infopathdev.com:443/forums/thread/75417.aspx</link><pubDate>Thu, 16 Feb 2012 20:12:05 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:75417</guid><dc:creator>Hilary Stoupa</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/75417.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=75417</wfw:commentRss><description>&lt;p&gt;Feel free to attach your template under the options tab and I can take a look. The formula needs to go in the formula editor - using the fx button.&lt;/p&gt;</description></item><item><title>Re: Autonumbering within a repeating table</title><link>https://www.infopathdev.com:443/forums/thread/75415.aspx</link><pubDate>Thu, 16 Feb 2012 19:44:04 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:75415</guid><dc:creator>karson6</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/75415.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=75415</wfw:commentRss><description>&lt;p&gt;I&amp;#39;ve tried it both ways.&amp;nbsp; I&amp;#39;ve clicked on the fx button and tried entering by selecting the count function.&amp;nbsp; I&amp;#39;ve tried pasting my formula after clicking the fx button and I&amp;#39;ve typed it straight into the default value field without clicking the fx button.&amp;nbsp; Same error each way.&lt;/p&gt;</description></item><item><title>Re: Autonumbering within a repeating table</title><link>https://www.infopathdev.com:443/forums/thread/75399.aspx</link><pubDate>Thu, 16 Feb 2012 18:23:59 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:75399</guid><dc:creator>Hilary Stoupa</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/75399.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=75399</wfw:commentRss><description>&lt;p&gt;Are you clicking on the &amp;quot;fx&amp;quot; button and using the formula editor? Or are you just typing directly in the default value text field?&lt;/p&gt;</description></item><item><title>Re: Autonumbering within a repeating table</title><link>https://www.infopathdev.com:443/forums/thread/75396.aspx</link><pubDate>Thu, 16 Feb 2012 18:18:35 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:75396</guid><dc:creator>karson6</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/75396.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=75396</wfw:commentRss><description>&lt;p&gt;The landEstimate is the name of the repeating group.&amp;nbsp; I both of the options your provided above and both give me the same InfoPath error:&lt;/p&gt;
&lt;p&gt;The error says the The value is not valid for this field&amp;#39;s data type.&amp;nbsp; Enter a different value (example:&amp;quot;1234&amp;quot;) or&amp;nbsp;leave the box blank.&lt;/p&gt;
&lt;p&gt;&amp;nbsp;Am I putting the function in the right place?&amp;nbsp; I added&amp;nbsp;as the Default Value and my data type is Whole Number.&lt;/p&gt;
&lt;p&gt;I&amp;#39;m using InfoPath 2010 if that matters.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;</description></item><item><title>Re: Autonumbering within a repeating table</title><link>https://www.infopathdev.com:443/forums/thread/75385.aspx</link><pubDate>Thu, 16 Feb 2012 16:57:00 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:75385</guid><dc:creator>Hilary Stoupa</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/75385.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=75385</wfw:commentRss><description>&lt;p&gt;Is landEstimate the field? Or the repeating group?&lt;/p&gt;
&lt;p&gt;I&amp;#39;d try something like:&lt;/p&gt;
&lt;p&gt;count(../preceding-sibling::my:RepeatingGroup) + 1&lt;/p&gt;
&lt;p&gt;However, if your formula syntax is correct and it is just a data type issue (which would sort of surprise me - I&amp;#39;d expect a count + 1 to return a number) you can always add the number function:&lt;/p&gt;
&lt;p&gt;number(count(preceding-sibling::landEstimate) + 1)&lt;/p&gt;</description></item><item><title>Autonumbering within a repeating table</title><link>https://www.infopathdev.com:443/forums/thread/75381.aspx</link><pubDate>Thu, 16 Feb 2012 16:36:14 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:75381</guid><dc:creator>karson6</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/75381.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=75381</wfw:commentRss><description>&lt;p&gt;I have a number field within a repeating table.&amp;nbsp; How can I have this automatically increment when rows are added?&lt;/p&gt;
&lt;p&gt;&amp;nbsp;I tried putting the following within the default value property of my number field but it didnt&amp;#39; work.&amp;nbsp; InfoPath gives me an error saying the value is not valid for the field&amp;#39;s data type - which is set to Whole Number (integer):&lt;/p&gt;
&lt;p&gt;count(preceding-sibling::landEstimate) + 1&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Thanks!&lt;/p&gt;</description></item></channel></rss>