<?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>Newbie Questions</title><link>https://www.infopathdev.com:443/forums/39.aspx</link><description>New to InfoPath? Search to see if your question has already been answered. If it has not, then ask it here or the appropriate topic forum.</description><dc:language>en</dc:language><generator>CommunityServer 2007 SP3 (Build: 31118.962)</generator><item><title>Re: I have problem about when insert row into repeating table.</title><link>https://www.infopathdev.com:443/forums/thread/23501.aspx</link><pubDate>Mon, 08 Oct 2007 06:41:44 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:23501</guid><dc:creator>jatuphum</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/23501.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=39&amp;PostID=23501</wfw:commentRss><description>&lt;p&gt;Now, I try to add new row in repeating table by check row count before on Form Load. And New row that I insert is first row of repeating table. &lt;/p&gt;
&lt;p&gt;I hope when I submit , I set field value of repeating table (at rule screen). But In fact, When I submit form, this field was updated by new value in every record.&lt;/p&gt;
&lt;p&gt;If I don&amp;#39;t have any solution, I must add new row by managed code , right?&lt;/p&gt;
&lt;p&gt;Thank you.&lt;/p&gt;</description></item><item><title>Re: I have problem about when insert row into repeating table.</title><link>https://www.infopathdev.com:443/forums/thread/23454.aspx</link><pubDate>Thu, 04 Oct 2007 16:45:39 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:23454</guid><dc:creator>jatuphum</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/23454.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=39&amp;PostID=23454</wfw:commentRss><description>&lt;p&gt;Hi, Fox. &lt;/p&gt;
&lt;p&gt;I didn&amp;#39;t have default value for setting blank row. Because I want to set it after user submit form. By value that is set to field in repeating table, it upto button click such as &amp;quot;created&amp;quot; or &amp;quot;modified&amp;quot; or &amp;quot;approved&amp;quot; and etc. How should I do for hide blank row or remove it from repeating table.&lt;/p&gt;
&lt;p&gt;&amp;nbsp;Thank you very much.&lt;/p&gt;</description></item><item><title>Re: I have problem about when insert row into repeating table.</title><link>https://www.infopathdev.com:443/forums/thread/23445.aspx</link><pubDate>Thu, 04 Oct 2007 13:20:09 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:23445</guid><dc:creator>Clay Fox</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/23445.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=39&amp;PostID=23445</wfw:commentRss><description>&lt;p&gt;If you have any default values then the initial row could be blank and you could have conditional formatting that said if field is blank hide.&amp;nbsp; Otherwise you might put an aditional flag field or have a certain value in a field which you could use to hide the row upon. FieldX = Hide - Hide&lt;/p&gt;</description></item><item><title>Re: I have problem about when insert row into repeating table.</title><link>https://www.infopathdev.com:443/forums/thread/23444.aspx</link><pubDate>Thu, 04 Oct 2007 12:58:19 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:23444</guid><dc:creator>jatuphum</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/23444.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=39&amp;PostID=23444</wfw:commentRss><description>&lt;p&gt;Thank you for your response again, Fox. :)&lt;/p&gt;
&lt;p&gt;Yes, you right. I don&amp;#39;t have something before insert row. With this repeating table, I want to insert only by Coding but not by user. &lt;/p&gt;
&lt;p&gt;How I could hide or remove blank row before insert new row.&lt;/p&gt;
&lt;p&gt;Thank You&amp;nbsp;very much.&amp;nbsp;&lt;/p&gt;</description></item><item><title>Re: I have problem about when insert row into repeating table.</title><link>https://www.infopathdev.com:443/forums/thread/23441.aspx</link><pubDate>Thu, 04 Oct 2007 12:14:49 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:23441</guid><dc:creator>Clay Fox</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/23441.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=39&amp;PostID=23441</wfw:commentRss><description>&lt;p&gt;Is the repeating table blank at first?&lt;/p&gt;
&lt;p&gt;Inorder to clone there has to be something to clone.&amp;nbsp; You either need to have a blank exisitng row, which you could hide, or you code to check for no rows and only insert the first one and then clone after the first one exists.&lt;/p&gt;
&lt;p&gt;I have seen this discussed before and would guess that is the case for you if it is empty to start.&lt;/p&gt;</description></item><item><title>I have problem about when insert row into repeating table.</title><link>https://www.infopathdev.com:443/forums/thread/23438.aspx</link><pubDate>Thu, 04 Oct 2007 07:36:06 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:23438</guid><dc:creator>jatuphum</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/23438.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=39&amp;PostID=23438</wfw:commentRss><description>&lt;p&gt;Hi.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;I have some problem about insert new row into repeating table. This is my code (event onclick from button).&lt;/p&gt;&lt;font color="#008080" size="2"&gt;&lt;font color="#0000ff" size="2"&gt;public&lt;/font&gt;&lt;font color="#000000" size="2"&gt; &lt;/font&gt;&lt;font color="#0000ff" size="2"&gt;void&lt;/font&gt;&lt;font color="#000000" size="2"&gt; btnCustom_Clicked(&lt;/font&gt;&lt;font color="#0000ff" size="2"&gt;object&lt;/font&gt;&lt;font color="#000000" size="2"&gt; sender, &lt;/font&gt;&lt;font color="#008080" size="2"&gt;ClickedEventArgs&lt;/font&gt;&lt;font size="2"&gt;&lt;font color="#000000"&gt; e)&lt;/font&gt;&lt;/font&gt;&lt;/font&gt;&lt;font color="#008080" size="2"&gt;&lt;font size="2"&gt; 
&lt;p&gt;{&lt;/p&gt;&lt;/font&gt;&lt;font color="#008080" size="2"&gt;XPathNavigator&lt;/font&gt;&lt;font size="2"&gt; row = &lt;/font&gt;&lt;font color="#0000ff" size="2"&gt;this&lt;/font&gt;&lt;font size="2"&gt;.MainDataSource.CreateNavigator().SelectSingleNode(&lt;/font&gt;&lt;font color="#800000" size="2"&gt;&amp;quot;/my:myFields/my:FormStatus&amp;quot;&lt;/font&gt;&lt;font size="2"&gt;, NamespaceManager);&lt;/font&gt;&lt;/font&gt;&lt;font size="2"&gt; 
&lt;p&gt;row.Clone();&lt;/p&gt;row.SelectSingleNode(&lt;/font&gt;&lt;font color="#800000" size="2"&gt;&amp;quot;my:StatusName&amp;quot;&lt;/font&gt;&lt;font size="2"&gt;, NamespaceManager).SetValue(&lt;/font&gt;&lt;font color="#800000" size="2"&gt;&amp;quot;Created&amp;quot;&lt;/font&gt;&lt;font size="2"&gt;);&lt;/font&gt;&lt;/font&gt;&lt;font size="2"&gt; 
&lt;p&gt;row.SelectSingleNode(&lt;/font&gt;&lt;font color="#800000" size="2"&gt;&amp;quot;my:StatusDatetime&amp;quot;&lt;/font&gt;&lt;font size="2"&gt;, NamespaceManager).SetValue(&lt;/font&gt;&lt;font color="#008080" size="2"&gt;DateTime&lt;/font&gt;&lt;font size="2"&gt;.Now.ToString(&lt;/font&gt;&lt;font color="#800000" size="2"&gt;&amp;quot;dd MMMM yy HH:mm:ss&amp;quot;&lt;/font&gt;&lt;font size="2"&gt;));&lt;/p&gt;&lt;/font&gt;&lt;font color="#008080" size="2"&gt;XPathNavigator&lt;/font&gt;&lt;font size="2"&gt; parent = &lt;/font&gt;&lt;font color="#0000ff" size="2"&gt;this&lt;/font&gt;&lt;font size="2"&gt;.MainDataSource.CreateNavigator().SelectSingleNode(&lt;/font&gt;&lt;font color="#800000" size="2"&gt;&amp;quot;/my:myFields&amp;quot;&lt;/font&gt;&lt;font size="2"&gt;, NamespaceManager);&lt;/font&gt;&lt;/font&gt;&lt;font size="2"&gt; 
&lt;p&gt;parent.AppendChild(row);&lt;/p&gt;&lt;/font&gt;
&lt;p&gt;&lt;font color="#008000" size="2"&gt;&lt;/p&gt;&lt;/font&gt;&lt;font size="2"&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;}&lt;/p&gt;&lt;/font&gt;&lt;/font&gt;&lt;font size="2"&gt;
&lt;p&gt;When I click button at &lt;strong&gt;first time&lt;/strong&gt;, &lt;strong&gt;number of row&lt;/strong&gt; that insert into table&lt;strong&gt; is double (This&amp;#39;s not Ok)&lt;/strong&gt;. After first time number of row that insert is single (This&amp;#39;s ok.)&lt;/p&gt;
&lt;p&gt;How can I solve this problem&lt;/p&gt;
&lt;p&gt;Thank you very much.&lt;/p&gt;&lt;/font&gt;</description></item></channel></rss>