<?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>Controls</title><link>https://www.infopathdev.com:443/forums/43.aspx</link><description> </description><dc:language>en</dc:language><generator>CommunityServer 2007 SP3 (Build: 31118.962)</generator><item><title>Re: Counting rows in repeating table is starting with #2 instead of 1 and sometimes...</title><link>https://www.infopathdev.com:443/forums/thread/92386.aspx</link><pubDate>Tue, 20 Aug 2013 20:37:02 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:92386</guid><dc:creator>Doreen</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/92386.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=43&amp;PostID=92386</wfw:commentRss><description>&lt;p&gt;Thank you!&amp;nbsp; This works.&amp;nbsp; I swear I tryed that formula before -&amp;nbsp;I must&amp;#39;ve navigated to the field instead of typing its XPath value manually.&amp;nbsp;Navigating to insert the field changes it to a . (dot) or .. (dot dot) and&amp;nbsp;throws error.&amp;nbsp;It seems&amp;nbsp;counter to&amp;nbsp;the way&amp;nbsp;a formula is supposed to insert a field.&amp;nbsp;&amp;nbsp;I thank you very much.&amp;nbsp; &lt;/p&gt;</description></item><item><title>Re: Counting rows in repeating table is starting with #2 instead of 1 and sometimes...</title><link>https://www.infopathdev.com:443/forums/thread/92379.aspx</link><pubDate>Tue, 20 Aug 2013 19:19:46 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:92379</guid><dc:creator>ErnestoM</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/92379.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=43&amp;PostID=92379</wfw:commentRss><description>&lt;p&gt;&amp;nbsp;&lt;/p&gt;</description></item><item><title>Re: Counting rows in repeating table is starting with #2 instead of 1 and sometimes...</title><link>https://www.infopathdev.com:443/forums/thread/92378.aspx</link><pubDate>Tue, 20 Aug 2013 19:19:06 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:92378</guid><dc:creator>ErnestoM</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/92378.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=43&amp;PostID=92378</wfw:commentRss><description>&lt;p&gt;Hi Doreen,&lt;/p&gt;
&lt;p&gt;For rowVeh, instead of&lt;br /&gt;100 + count(../preceding-sibling::*) - 1 + 1&lt;br /&gt;I think you want&lt;br /&gt;100 + count(../preceding-sibling::my:VehicleRows) + 1&lt;/p&gt;
&lt;p&gt;For rowProperty, instead of&lt;br /&gt;300 + count(../preceding-sibling::*) - 1 + 1&lt;br /&gt;I think you want&lt;br /&gt;300 + count(../preceding-sibling::my:PropertyRows) + 1&lt;/p&gt;
&lt;p&gt;For rowEq, instead of &lt;br /&gt;200 + count(../preceding-sibling::*) + 1&lt;br /&gt;I think you want&lt;br /&gt;200 + count(../preceding-sibling::my:EquipmentRows) + 1&lt;/p&gt;
&lt;p&gt;I&amp;#39;m attaching screenshots. Hope this helps.&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;</description></item><item><title>Re: Counting rows in repeating table is starting with #2 instead of 1 and sometimes...</title><link>https://www.infopathdev.com:443/forums/thread/92366.aspx</link><pubDate>Tue, 20 Aug 2013 07:24:38 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:92366</guid><dc:creator>Patrick Halstead</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/92366.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=43&amp;PostID=92366</wfw:commentRss><description>&lt;p&gt;Yes, of course, please email our support (at) Qdabra (dawt) com alias. :)&lt;/p&gt;</description></item><item><title>Re: Counting rows in repeating table is starting with #2 instead of 1 and sometimes...</title><link>https://www.infopathdev.com:443/forums/thread/92363.aspx</link><pubDate>Mon, 19 Aug 2013 22:30:45 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:92363</guid><dc:creator>Doreen</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/92363.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=43&amp;PostID=92363</wfw:commentRss><description>Is it ok if I email it to you?&amp;nbsp; I don&amp;#39;t want to make the form public.</description></item><item><title>Re: Counting rows in repeating table is starting with #2 instead of 1 and sometimes...</title><link>https://www.infopathdev.com:443/forums/thread/92361.aspx</link><pubDate>Mon, 19 Aug 2013 21:32:31 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:92361</guid><dc:creator>ErnestoM</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/92361.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=43&amp;PostID=92361</wfw:commentRss><description>&lt;p&gt;Hi Doreen,&lt;/p&gt;
&lt;p&gt;Working out the correct syntax for preceding sibling is tricky sometimes.&lt;/p&gt;
&lt;p&gt;If you can attach your form, I&amp;#39;ll take a look.&lt;/p&gt;
&lt;p&gt;Thanks.&lt;/p&gt;</description></item><item><title>Re: Counting rows in repeating table is starting with #2 instead of 1 and sometimes...</title><link>https://www.infopathdev.com:443/forums/thread/92357.aspx</link><pubDate>Mon, 19 Aug 2013 19:10:19 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:92357</guid><dc:creator>Doreen</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/92357.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=43&amp;PostID=92357</wfw:commentRss><description>&lt;p&gt;Thank you.&amp;nbsp; I am unable to make anything but the asterisk (*)&amp;nbsp;stick in the formula - whether it be typed in &lt;em&gt;&lt;strong&gt;fx&lt;/strong&gt;&lt;/em&gt; field&amp;nbsp;with &amp;quot;Edit&amp;nbsp;XPath&amp;quot; clicked&amp;nbsp;or not, or if typed in the&amp;nbsp;default value textbox (before clicking &lt;em&gt;&lt;strong&gt;fx&lt;/strong&gt;&lt;/em&gt;).&amp;nbsp; hmmm&lt;/p&gt;&lt;ul&gt;&lt;li&gt;When I cilck Insert Field or Group, it inserts a dot (.)&amp;nbsp;and&amp;nbsp;spits out&amp;nbsp;error.&amp;quot;&lt;em&gt;Node-test expected.&amp;quot;&lt;/em&gt; &lt;/li&gt;&lt;li&gt;When I type in the name Example: &amp;quot;my:rowVeh&amp;quot;, it spits out error &lt;em&gt;&amp;quot;../preceding-sibling::my:rowVeh&amp;quot; does not point to a valid location path of a field or group.&amp;quot;&lt;/em&gt;&lt;/li&gt;&lt;/ul&gt;&lt;p&gt;&lt;em&gt;&lt;/em&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;&lt;em&gt;In my uploaded example I have 3 repeating tables&amp;nbsp;where row numbering starts with 100, 200 or 300 depending on the section.&amp;nbsp; Note how first and last section start numbering with 2 (102, 302) instead of 1, like section 2 correctly shows (201).&amp;nbsp; Each default value is typed in the same.&lt;/em&gt;&lt;/p&gt;&lt;p&gt;As a work-around I have changed the formula for section 1 and 3 to be&lt;em&gt; &amp;quot;&lt;strong&gt;count(../preceding-sibling::*) &lt;u&gt;- 1&lt;/u&gt; + 1&lt;/strong&gt;&amp;quot; and this causes numbering to start with #1.&lt;/em&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;&lt;em&gt;&lt;/em&gt;&amp;nbsp;&lt;/p&gt;</description></item><item><title>Re: Counting rows in repeating table is starting with #2 instead of 1 and sometimes...</title><link>https://www.infopathdev.com:443/forums/thread/92280.aspx</link><pubDate>Sun, 18 Aug 2013 23:34:38 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:92280</guid><dc:creator>Patrick Halstead</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/92280.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=43&amp;PostID=92280</wfw:commentRss><description>&lt;p&gt;Hi Doreen,&lt;/p&gt;
&lt;p&gt;Don&amp;#39;t use the asterisk character. Use the name of the group. For example: &amp;quot;count(../preceding-sibling::my:group2) +1&amp;quot;.&lt;/p&gt;
&lt;p&gt;Note: position() doesn&amp;#39;t work in the browser.&lt;/p&gt;</description></item><item><title>Counting rows in repeating table is starting with #2 instead of 1 and sometimes...</title><link>https://www.infopathdev.com:443/forums/thread/92234.aspx</link><pubDate>Thu, 15 Aug 2013 19:10:46 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:92234</guid><dc:creator>Doreen</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/92234.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=43&amp;PostID=92234</wfw:commentRss><description>&lt;p&gt;I have an integer field in my row called rowNumber. Default value(fx) is &lt;em&gt;&amp;quot;count(preceding-sibling::*) + 1&amp;quot;&lt;/em&gt;&lt;/p&gt;&lt;p&gt;&lt;em&gt;when I enter the formula as noted above, row 1 and thereafter&amp;nbsp;are numbered &amp;quot;9&amp;quot;&lt;/em&gt;&lt;/p&gt;&lt;p&gt;&lt;em&gt;when I change the formula to &amp;quot;count(../preceding-sibling::*) + 1&amp;quot; (and when it lets me - sometimes InfoPath balks and doesn&amp;#39;t accept this forumula) the numbering starts with 2 and continues, skipping #1&lt;/em&gt;&lt;/p&gt;&lt;p&gt;&lt;em&gt;&lt;/em&gt;What is the trick to numbering rows?&amp;nbsp; I know about postion() but can&amp;#39;t use that because my objective is to select a row by button click to indicate which row to copy to another textbox.&lt;/p&gt;</description></item></channel></rss>