<?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: Copy Data from Secondary to Main Data Sources</title><link>https://www.infopathdev.com:443/forums/thread/12268.aspx</link><pubDate>Fri, 01 Sep 2006 20:09:32 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:12268</guid><dc:creator>trufooser</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/12268.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=44&amp;PostID=12268</wfw:commentRss><description>I have a knack for finding the Rube Goldberg way of doing things sometimes, this may be one.&lt;br /&gt;&lt;br /&gt;I'm not familar with sharepoint, but I'm assuming it has a primary key field like that in access.  If thats the case:&lt;br /&gt;&lt;br /&gt;Have a repeating section bound to a table in access or something.  Make sure theres an extra field in the table, call it DummyPrimaryKey.  Set the default value to position().  &lt;br /&gt;&lt;br /&gt;Make a rule in this field that sets the values of the other fields.  Should look something like: &lt;br /&gt;          Field:  AccessField1&lt;br /&gt;&lt;br /&gt;          Value:  SharepointField1[SharePointPrimaryKey = current()]&lt;br /&gt;&lt;br /&gt;Next, extract the form files.  Open up the "schema.xsd" and find the number of minimum occurences to that table.  Change it to something large or the number of entries in your sharepoint database.&lt;br /&gt;&lt;br /&gt;Save it, close it, run it.  See if it works.&lt;br /&gt;&lt;br /&gt;</description></item><item><title>Copy Data from Secondary to Main Data Sources</title><link>https://www.infopathdev.com:443/forums/thread/12122.aspx</link><pubDate>Fri, 01 Sep 2006 01:20:03 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:12122</guid><dc:creator>rajthayi</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/12122.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=44&amp;PostID=12122</wfw:commentRss><description>Hi&lt;br /&gt;&lt;br /&gt;I am trying to display data from a Sharepoint list. Also want to filter data based on a criteria.&lt;br /&gt;&lt;br /&gt;I have seen some postings about GetListItems but is too complex to do it the way it has been described in the How To section of the website.&lt;br /&gt;&lt;br /&gt;I am trying to see if it can be done differently.&lt;br /&gt;&lt;br /&gt;This is how i plan to do.&lt;br /&gt;&lt;br /&gt;* Define a Infopath Main data source to be similar to the Sharepoint&lt;br /&gt;list xml result set.&lt;br /&gt;* Define a secondary data source to get all the items from a sharepoint&lt;br /&gt;list.&lt;br /&gt;* Copy the data from Secondary data source to main data source.&lt;br /&gt;* Apply the filter on the main data source using infopath filters.(this i have to do because infopath does not allow filter on secondary data sources nor on the main data source if it is from a sharepoint list)&lt;br /&gt;&lt;br /&gt;What i need help with is, what is the easiest way to copy data from main data source to secondary data source. I have not coded much in infopath before.&lt;br /&gt;&lt;br /&gt;Any help will be appreciated.&lt;br /&gt;</description></item></channel></rss>