<?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: How to limit the maximum rows in Repeating Table</title><link>https://www.infopathdev.com:443/forums/thread/8687.aspx</link><pubDate>Thu, 05 Jan 2006 20:20:21 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:8687</guid><dc:creator>Matt Faus</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/8687.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=8687</wfw:commentRss><description>I think the reason all of your rows are being deleted when you put your functionality into the onAfterChange event is due to bubbling. Check out this tutorial and I think you should be able to get it to work:&lt;br /&gt;&lt;br /&lt;a target="_blank" href=http://infopathdev.com/howto/tips/default.aspx?i=3551199a23ac41f3a155b3a2ffc412c5&gt;http://infopathdev.com/howto/tips/default.aspx?i=3551199a23ac41f3a155b3a2ffc412c5&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;If it works how you want it to when running underneath a button, then I don't think it will take much for it to run automatically within the OnAfterChange event.&lt;br /&gt;&lt;br /&gt;---------------&lt;br /&gt;Matt Faus&lt;br /&gt;InfoPath Dev Texas&lt;br /&gt;</description></item><item><title>Re: How to limit the maximum rows in Repeating Table</title><link>https://www.infopathdev.com:443/forums/thread/8686.aspx</link><pubDate>Thu, 05 Jan 2006 17:40:15 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:8686</guid><dc:creator>tatopitta</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/8686.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=8686</wfw:commentRss><description>I have an idea but i don't know if it works: you can create an eventhandler on the node bound to the row: when the operarion is Insert, the event handler counts the number of nodes: if number &amp;lt; maximum, ok, otherwise warning message and the last row is deleted by code (or you can use a global variable to avoid the countings).&lt;br /&gt;&lt;br /&gt;I haven't tried it.&lt;br /&gt;Hope this helps :)</description></item><item><title>How to limit the maximum rows in Repeating Table</title><link>https://www.infopathdev.com:443/forums/thread/5242.aspx</link><pubDate>Thu, 05 Jan 2006 10:32:45 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:5242</guid><dc:creator>nobel</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/5242.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=5242</wfw:commentRss><description>Hi,&lt;br /&gt;&lt;br /&gt;Can anyone guide me How to limit the maximum rows in Repeating Table(Dynamically).&lt;br /&gt;&lt;br /&gt;I use to try to limit by Conditional Formatting ,but InfoPath will disable both Insert and Delete function from the repeating table.&lt;br /&gt;&lt;br /&gt;I still need the delete function T_T&lt;br /&gt;&lt;br /&gt;I try to delete the last row out (use JavaScript function) when user add the new row and the row-count is &amp;gt;= maximumrow&lt;br /&gt;&lt;br /&gt;that function wokrs when I call it from Button, but when I call that  function from Repeating Table::OnAfterChange it delete all the rows out. (Seem like each row call this function)&lt;br /&gt;&lt;br /&gt;Does any one have any suggestion.&lt;br /&gt;&amp;lt;Or need more information&amp;gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Thank you ^^"&lt;br /&gt;&lt;br /&gt;</description></item></channel></rss>