<?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: Repeating table - How to copy data from first line to added lines</title><link>https://www.infopathdev.com:443/forums/thread/33846.aspx</link><pubDate>Tue, 04 Nov 2008 09:23:14 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:33846</guid><dc:creator>sandhyapati</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/33846.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=45&amp;PostID=33846</wfw:commentRss><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;Open the form in Visual Studio solution and double click on the Repeating table.You will get the onafter change event then you can&amp;nbsp;write the code there.&lt;/p&gt;</description></item><item><title>Re: Repeating table - How to copy data from first line to added lines</title><link>https://www.infopathdev.com:443/forums/thread/33842.aspx</link><pubDate>Tue, 04 Nov 2008 08:38:47 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:33842</guid><dc:creator>kikki</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/33842.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=45&amp;PostID=33842</wfw:commentRss><description>&lt;p&gt;hold on... i just found example on downloads...&lt;/p&gt;</description></item><item><title>Re: Repeating table - How to copy data from first line to added lines</title><link>https://www.infopathdev.com:443/forums/thread/33839.aspx</link><pubDate>Tue, 04 Nov 2008 07:47:57 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:33839</guid><dc:creator>kikki</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/33839.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=45&amp;PostID=33839</wfw:commentRss><description>&lt;p&gt;I´m newbie with IP, so could you explain where i could found this OnAfterChange event.&lt;/p&gt;</description></item><item><title>Re: Repeating table - How to copy data from first line to added lines</title><link>https://www.infopathdev.com:443/forums/thread/33692.aspx</link><pubDate>Thu, 30 Oct 2008 16:49:23 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:33692</guid><dc:creator>Shiva</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/33692.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=45&amp;PostID=33692</wfw:commentRss><description>&lt;p&gt;Hello Welcome to the Forums,&lt;/p&gt;
&lt;p&gt;You have to write the code in OnAfterChange event for repeating table. While inserting new row then copy the first line &amp;quot;field2&amp;quot; field data and set new row and insert as new row. &lt;/p&gt;
&lt;p&gt;On &amp;quot;field2&amp;quot; you have to add conditional formatting is &amp;quot;repeating field2 count is more than 1 and field2 is not blank&amp;quot; -&amp;gt; Read-only.&lt;/p&gt;</description></item><item><title>Repeating table - How to copy data from first line to added lines</title><link>https://www.infopathdev.com:443/forums/thread/33684.aspx</link><pubDate>Thu, 30 Oct 2008 13:55:16 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:33684</guid><dc:creator>kikki</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/33684.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=45&amp;PostID=33684</wfw:commentRss><description>&lt;p&gt;Hi, i have search solution for this from many place and forums. I have build simple form, that has one repeating table with 7 fields.&lt;/p&gt;
&lt;p&gt;Field2 is dropdown and reguired. And when adding new line, it should automatically copy selected data to next line at field2 and lock it, so no chance to change it afterwards.&lt;/p&gt;
&lt;p&gt;Not even by changing first line...&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;</description></item></channel></rss>