<?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: Repeat Table Question</title><link>https://www.infopathdev.com:443/forums/thread/54589.aspx</link><pubDate>Thu, 06 May 2010 12:14:40 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:54589</guid><dc:creator>sdy731022</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/54589.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=54589</wfw:commentRss><description>&lt;p&gt;&amp;nbsp;Great. It works. Thanks a lot for your help. &lt;br /&gt;&lt;/p&gt;&lt;p&gt;&amp;nbsp;Do you have any idea why the first one works but second not by using this formula ?&lt;br /&gt;&lt;/p&gt;&lt;p&gt;count(preceding-sibling::*/Index_Count) + 1&lt;br /&gt;count(preceding-sibling::*/field) + 1 &lt;br /&gt;&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;</description></item><item><title>Re: Repeat Table Question</title><link>https://www.infopathdev.com:443/forums/thread/54572.aspx</link><pubDate>Thu, 06 May 2010 05:59:46 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:54572</guid><dc:creator>Qazi Anis</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/54572.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=54572</wfw:commentRss><description>&lt;p&gt;try &lt;/p&gt;
&lt;p&gt;count(../preceding-sibling::*) + 1&lt;/p&gt;</description></item><item><title>Repeat Table Question</title><link>https://www.infopathdev.com:443/forums/thread/54563.aspx</link><pubDate>Wed, 05 May 2010 20:55:31 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:54563</guid><dc:creator>sdy731022</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/54563.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=54563</wfw:commentRss><description>&lt;p&gt;Hello all, &lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;I was trying to create a repeat table with auto rowid increasement . So I created a repeat table with two columns (Index_Count,field) and assign the default value for each column with the following formulas :&lt;br /&gt;&lt;p&gt;&lt;br /&gt;count(preceding-sibling::*/Index_Count) + 1&lt;br /&gt;count(preceding-sibling::*/field) + 1&lt;br /&gt;&lt;br /&gt;Once I previewed the form, the first column value can increase value after inserting . But second column value &lt;br /&gt;will always keep same value(1).&lt;/p&gt;&lt;p&gt;&amp;nbsp;Any suggestions would be appreciated. Thanks. &lt;/p&gt;&lt;img alt="" /&gt;&lt;p&gt;&amp;nbsp;&lt;img alt="" /&gt;&lt;/p&gt;</description></item></channel></rss>