<?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: Main and secondary connection</title><link>https://www.infopathdev.com:443/forums/thread/79420.aspx</link><pubDate>Tue, 12 Jun 2012 17:06:27 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:79420</guid><dc:creator>Hilary Stoupa</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/79420.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=39&amp;PostID=79420</wfw:commentRss><description>&lt;p&gt;Well, sadly, you can&amp;#39;t. The secondary data source node isn&amp;#39;t related to your main data source - if you want an instance of a field for every instance of a repeating group, the new field needs to be in the repeating group. Is the secondary data something you&amp;#39;ll be wanting to submit to SQL with the rest of your data? If so, you could add a field for it, and use a default value to get the correct value from the secondary data source.&lt;/p&gt;</description></item><item><title>Re: Main and secondary connection</title><link>https://www.infopathdev.com:443/forums/thread/79405.aspx</link><pubDate>Tue, 12 Jun 2012 06:33:48 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:79405</guid><dc:creator>skyshield</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/79405.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=39&amp;PostID=79405</wfw:commentRss><description>&lt;p&gt;Hi, Just found out that whatever text i add in the textbox from the secondary connection is replicated in every text box from that column as entries are returned from the main connection.&lt;/p&gt;
&lt;p&gt;&amp;nbsp;How can i relate that secondary connection with the textbox from the main connection?&lt;/p&gt;
&lt;p&gt;thanks for your help.&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Sky&lt;/p&gt;</description></item><item><title>Main and secondary connection</title><link>https://www.infopathdev.com:443/forums/thread/79232.aspx</link><pubDate>Tue, 05 Jun 2012 07:58:01 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:79232</guid><dc:creator>skyshield</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/79232.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=39&amp;PostID=79232</wfw:commentRss><description>&lt;p&gt;Hi I have a main connection to a database (SQL) where i joined another table to it.&lt;/p&gt;
&lt;p&gt;This part works fine in the repeating table.&lt;/p&gt;
&lt;p&gt;I would like to join data from a access database to this repeating table.&lt;/p&gt;
&lt;p&gt;This database has the material code in it which is also present in the SQL database.&lt;/p&gt;
&lt;p&gt;my problem is that it pulls out the data from the access database&lt;/p&gt;
&lt;p&gt;the problem is that the data from access duplicates in the rows.&lt;/p&gt;
&lt;p&gt;An example would be this.&lt;/p&gt;
&lt;p&gt;Material &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Country of origin&lt;br /&gt;&lt;br /&gt;123&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; GB&lt;/p&gt;
&lt;p&gt;456&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; GB&lt;/p&gt;
&lt;p&gt;789&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; GB&lt;/p&gt;
&lt;p&gt;In this case 456 should have been FR and 789 DE as an example.&lt;/p&gt;
&lt;p&gt;i tried a lot of things but it seems that i dont get it done.&lt;/p&gt;
&lt;p&gt;The text box from The country of origin is from the segondary connection. This one is in the repeating table from the SQL database&lt;br /&gt;&lt;br /&gt;for the other info i am pulling this material info with a button out of SQL.&lt;/p&gt;
&lt;p&gt;I also tried to add the data in there linking the country box to the material from the SQL database when the material from the access db is the same.&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Thanks in advance for your time and help.&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Sky&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;</description></item></channel></rss>