<?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>Data Connections</title><link>https://www.infopathdev.com:443/forums/44.aspx</link><description> </description><dc:language>en</dc:language><generator>CommunityServer 2007 SP3 (Build: 31118.962)</generator><item><title>Re: Copying sek. datasets to primary datasets</title><link>https://www.infopathdev.com:443/forums/thread/12192.aspx</link><pubDate>Thu, 25 May 2006 21:41:08 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:12192</guid><dc:creator>seattle67</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/12192.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=44&amp;PostID=12192</wfw:commentRss><description>Hi thank you but how can I merge a secondary data source to a main data source? I think vasanthaprabu describes the same problem and he has no solution, too. Mybe someone can help me with an example.&lt;br /&gt;Thank you in advance.&lt;br /&gt;</description></item><item><title>Re: Copying sek. datasets to primary datasets</title><link>https://www.infopathdev.com:443/forums/thread/12191.aspx</link><pubDate>Mon, 22 May 2006 07:12:42 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:12191</guid><dc:creator>shailaja</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/12191.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=44&amp;PostID=12191</wfw:commentRss><description>Hello,&lt;br /&gt;You can use Custom merge in order to merge data of all the XMLs into one. To do Custom merge take a look at Meeting Agenda sample solution which merges Issue tracking forms. You can also refer Pages from 47 to 52 in book called “Developing solutions with Microsoft InfoPath”.&lt;br /&gt;&lt;br /&gt;Hope this helps!</description></item><item><title>Re: Copying sek. datasets to primary datasets</title><link>https://www.infopathdev.com:443/forums/thread/12190.aspx</link><pubDate>Fri, 12 May 2006 08:21:08 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:12190</guid><dc:creator>seattle67</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/12190.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=44&amp;PostID=12190</wfw:commentRss><description>Hi,&lt;br /&gt;thank you very much for your questions I try to explain it in a different way.&lt;br /&gt;&lt;br /&gt;I want to give the users of the form the possiblity to import a xml file into the form. Therefore I created a new data connection for receiving data from a xml file e.g. test.xml. This file is in a special directory and has a defined structur but each user wants to import in his form different data therefore he has to copy his "own" test.xml in the directory. &lt;br /&gt;&lt;br /&gt;see example for the file structure&lt;br /&gt;&lt;br /&gt;&amp;lt;?xml version="1.0" encoding="utf-8"?&amp;gt;&lt;br /&gt;&amp;lt;cart    	IF_VERSION="2.3"&lt;br /&gt;            CREATION_DATE="11/03/2006"&lt;br /&gt;            ORDER_NO="ORD-1"&amp;gt;&lt;br /&gt;            &amp;lt;delivery DATE="01/08/2006"&lt;br /&gt;                     PARTIAL_SHIPMENT_POSSIBLE="no"&lt;br /&gt;                      COUNTRY_CODE=""/&amp;gt;&lt;br /&gt;            &amp;lt;item LINE_ITEMNUMBER="1"&lt;br /&gt;                  PRODUCT_ID="00123"&lt;br /&gt;                  QUANTITY="10"&lt;br /&gt;                  CUSTOMER_PRODUCT_PRICE="99.90"&amp;gt;&lt;br /&gt;                  &amp;lt;description LANGUAGE="1"&amp;gt;Part 1&amp;lt;/description&amp;gt;&lt;br /&gt;                  &amp;lt;list ID="1" LISTPRICE="109.00" PRICEUNIT="1"  PRICE_QUANTITY_SCALE="1"/&amp;gt;&lt;br /&gt;            &amp;lt;/item&amp;gt;&lt;br /&gt;            &amp;lt;item LINE_ITEMNUMBER="2"&lt;br /&gt;                  PRODUCT_ID="00124"&lt;br /&gt;                  QUANTITY="1"&lt;br /&gt;                  CUSTOMER_PRODUCT_PRICE="300.00"&amp;gt;&lt;br /&gt;                  &amp;lt;description LANGUAGE="1"&amp;gt;Part 2&amp;lt;/description&amp;gt;&lt;br /&gt;                  &amp;lt;list ID="1" LISTPRICE="310.00" PRICEUNIT="1"  PRICE_QUANTITY_SCALE="1"/&amp;gt;&lt;br /&gt;            &amp;lt;/item&amp;gt;&lt;br /&gt;            &amp;lt;item LINE_ITEMNUMBER="3"&lt;br /&gt;                  PRODUCT_ID="00999"&lt;br /&gt;                  QUANTITY="1"&lt;br /&gt;                  CUSTOMER_PRODUCT_PRICE="100.20"&amp;gt;&lt;br /&gt;                  &amp;lt;description LANGUAGE="1"&amp;gt;Part 3&amp;lt;/description&amp;gt;&lt;br /&gt;                  &amp;lt;list ID="1" LISTPRICE="110.50" PRICEUNIT="1"  PRICE_QUANTITY_SCALE="1"/&amp;gt;&lt;br /&gt;            &amp;lt;/item&amp;gt;&lt;br /&gt;&amp;lt;/cart&amp;gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;For importing the file in a form I created a button which opens the data connection. After pressing the button the data are in the secundary data structure "test".&lt;br /&gt;&lt;br /&gt;The problem is that if the user closes the form the data are not stored in the form. The problem is that the next user who creates a new form imports the file test.xml with other data. Therefor I have to store the data from the xml File in the main (primary) data store of the form. I think I have to create a new structure in the form(e.g. a repeatable table called "importtable") and I have to copy the imported data in this table. But it is not possible to do this by assigning the secundary values to the values in the table "importtable" in the form because in this case I get only the last row (the last data) of the xml File in the table. My personal point of view is that I have to write a script which inserts the rows of the secundary data structure to the repeatable table including inserting new rows in my table "importtable". But I do not know how to do this or if there is another way to store the imported xml data in the form.&lt;br /&gt;&lt;br /&gt;Many thanks for help.</description></item><item><title>Re: Copying sek. datasets to primary datasets</title><link>https://www.infopathdev.com:443/forums/thread/12189.aspx</link><pubDate>Thu, 11 May 2006 13:01:44 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:12189</guid><dc:creator>shailaja</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/12189.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=44&amp;PostID=12189</wfw:commentRss><description>Hello,&lt;br /&gt;What do you mean by Primary table? Is it a table in a SQL database or the Main datasource? Something else? Please give more details. Also what does formular mean?&lt;br /&gt;&lt;br /&gt;Thanks</description></item><item><title>Copying sek. datasets to primary datasets</title><link>https://www.infopathdev.com:443/forums/thread/12096.aspx</link><pubDate>Wed, 10 May 2006 15:47:15 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:12096</guid><dc:creator>seattle67</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/12096.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=44&amp;PostID=12096</wfw:commentRss><description>Hi,&lt;br /&gt;&lt;br /&gt;I look for a solution to copy data which are in an xml-File to a primary table.&lt;br /&gt;&lt;br /&gt;I did like this:&lt;br /&gt;&lt;br /&gt;I implemented a button to import data from an XML File into InfoPath&lt;br /&gt;After the import the data are all in repeatable table but with the secundary data source. I did not store the data in the formular because the input file will change. After the import I would like to copy all the imported date to a repeatable table in the primary data storage to store them and to modify them per hand in the formular.&lt;br /&gt;&lt;br /&gt;Can anybody help me?</description></item></channel></rss>