<?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 Pass a Variable from Form #1 to Form #2 and Populate Each Row With that Value.</title><link>https://www.infopathdev.com:443/forums/thread/53112.aspx</link><pubDate>Thu, 25 Mar 2010 18:59:33 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:53112</guid><dc:creator>cdavis</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/53112.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=45&amp;PostID=53112</wfw:commentRss><description>&lt;p&gt;&amp;nbsp;I added a field (that wasn&amp;#39;t&amp;nbsp; tied to a data source) outside of my repeating table to store the passed variable.&amp;nbsp; I named it roDesignNo.&lt;/p&gt;&lt;p&gt;Therefore, the data structure looks like:&lt;/p&gt;&lt;p&gt;myFields&lt;/p&gt;&lt;p&gt;&amp;nbsp; queryFields&lt;/p&gt;&lt;p&gt;&amp;nbsp; dataFields&lt;/p&gt;&lt;p&gt;&amp;nbsp; &amp;nbsp; tblDetailsInfo&lt;/p&gt;&lt;p&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; [Fields...]&lt;/p&gt;&lt;p&gt;&amp;nbsp; &amp;nbsp; my:roDesignNo&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;I am accessing another field like this:&lt;/p&gt;&lt;p&gt;&amp;quot;/dfs:myFields/dfs:dataFields/d:tblDetailsInfo/@plDesc&amp;quot;&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;I am not having any luck accessing the roDesignNo (created field)?&amp;nbsp; Any ideas?&amp;nbsp; I think if I can get past this then I may be able to keep the value for the repeating table consistently for each row.&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;Thanks! &lt;br /&gt;&lt;/p&gt;</description></item><item><title>Re: Repeating Table:  How to Pass a Variable from Form #1 to Form #2 and Populate Each Row With that Value.</title><link>https://www.infopathdev.com:443/forums/thread/53111.aspx</link><pubDate>Thu, 25 Mar 2010 18:26:55 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:53111</guid><dc:creator>Jimmy</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/53111.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=45&amp;PostID=53111</wfw:commentRss><description>&lt;p&gt;&amp;nbsp;Could this be because the field outside the repeating table where you&amp;#39;re storing the Design Number is getting reset when you click Submit?&amp;nbsp; You can probably get around this by unchecking the &amp;quot;Update this value when the formula&amp;#39;s value changes&amp;quot; checkbox, but you&amp;#39;ll probably want to look into why this is happening.&lt;br /&gt;&lt;/p&gt;</description></item><item><title>Re: Repeating Table:  How to Pass a Variable from Form #1 to Form #2 and Populate Each Row With that Value.</title><link>https://www.infopathdev.com:443/forums/thread/53110.aspx</link><pubDate>Thu, 25 Mar 2010 18:19:14 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:53110</guid><dc:creator>cdavis</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/53110.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=45&amp;PostID=53110</wfw:commentRss><description>&lt;p&gt;&amp;nbsp;When I use the default value it will place the value in the column for each row, however, when I clicked the submit button the values disappear in all rows except the first and then I get an error message about missing a required field for my database.&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;</description></item><item><title>Re: Repeating Table:  How to Pass a Variable from Form #1 to Form #2 and Populate Each Row With that Value.</title><link>https://www.infopathdev.com:443/forums/thread/53109.aspx</link><pubDate>Thu, 25 Mar 2010 18:12:22 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:53109</guid><dc:creator>Jimmy</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/53109.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=45&amp;PostID=53109</wfw:commentRss><description>You should be able to use that field&amp;#39;s Default Value formula to accomplish this.&amp;nbsp; You&amp;#39;ll need to store your Design Number somewhere so that the formula can access it at any time.&lt;br /&gt;</description></item><item><title>Repeating Table:  How to Pass a Variable from Form #1 to Form #2 and Populate Each Row With that Value.</title><link>https://www.infopathdev.com:443/forums/thread/53105.aspx</link><pubDate>Thu, 25 Mar 2010 17:44:59 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:53105</guid><dc:creator>cdavis</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/53105.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=45&amp;PostID=53105</wfw:commentRss><description>&lt;p&gt;I am fairly new to InfoPath.&amp;nbsp; Hopefully, I can explain this correctly.&lt;/p&gt;&lt;p&gt;Summary:&lt;/p&gt;&lt;p&gt;I have two forms.&amp;nbsp; The first form collects data.&amp;nbsp; The users then clicks a &amp;quot;Continue&amp;quot; button that submits the data to a SQL server, then open the second form programmatically while passing a key field value to this second form.&amp;nbsp; I have a Design Number that is passed to this second form.&amp;nbsp; The second form contains a repeating table.&amp;nbsp; The first column of the repeating table needs to have the passed-in value.&amp;nbsp; If I leave the repeating table at one row and submit data it works.&amp;nbsp; However, when I &amp;quot;Insert Another Row&amp;quot; the first column is blank and the submit does not work.&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;Question:&lt;/p&gt;&lt;p&gt;How do I force the 1st Column of the repeating table to contain this value by default for each and ever row?&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;I have seen a few responses and tried their suggestions and I can&amp;#39;t get it to work.&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;Thanks in advance! &lt;br /&gt;&lt;/p&gt;</description></item></channel></rss>