<?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>Code</title><link>https://www.infopathdev.com:443/forums/45.aspx</link><description /><dc:language>en</dc:language><generator>CommunityServer 2007 SP3 (Build: 31118.962)</generator><item><title>Re: unable to debug the infopath form in preview mode</title><link>https://www.infopathdev.com:443/forums/thread/44941.aspx</link><pubDate>Fri, 24 Jul 2009 20:32:39 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:44941</guid><dc:creator>kalyan@infopath</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/44941.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=45&amp;PostID=44941</wfw:commentRss><description>&lt;p&gt;&amp;nbsp;I am done with this problem.&lt;/p&gt;&lt;p&gt;Thanks,&lt;/p&gt;&lt;p&gt;Kalyan. &lt;br /&gt;&lt;/p&gt;</description></item><item><title>unable to debug the infopath form in preview mode</title><link>https://www.infopathdev.com:443/forums/thread/44915.aspx</link><pubDate>Fri, 24 Jul 2009 16:56:51 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:44915</guid><dc:creator>kalyan@infopath</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/44915.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=45&amp;PostID=44915</wfw:commentRss><description>&lt;p&gt;&amp;nbsp;Hi all,&lt;/p&gt;&lt;p&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;nbsp; I have a repeating table in infopath form, which is having a delete button control in one column. My problem here is i need to disable the button when it is the first row. Whenever the user enter the second row the using another &amp;quot;add row&amp;quot; button in the same row, the &amp;quot;Delete&amp;quot; button should be enabled in both rows. Whenever the the user delete the second row the button should automatically be disabled in the first row. For this i wrote some code to read the row count and assigned that count to a hidden field in the form, i did conditional formatting based on the hidden fields value to hide the control in the firt row.&amp;nbsp;&lt;/p&gt;&lt;p&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; I had put a break point in the code and from the preview mode i hit the delete button. Now i am able to delete the row with out hitting that break point, i don&amp;#39;t know why this is happening. Also the code is not being executed when ever i hit the button out side the repeating table like &amp;quot;Submit&amp;quot;. Any help on this issue would be greatly appreciated.&lt;/p&gt;&lt;p&gt;Thanks,&lt;/p&gt;&lt;p&gt;Kalyan. &lt;br /&gt;&lt;/p&gt;</description></item></channel></rss>