<?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>SharePoint Integration</title><link>https://www.infopathdev.com:443/forums/46.aspx</link><description> For questions concerning issues in the integration of SharePoint and Microsoft InfoPath.</description><dc:language>en</dc:language><generator>CommunityServer 2007 SP3 (Build: 31118.962)</generator><item><title>Re: Retrieve repeating section data from a SharePoint List</title><link>https://www.infopathdev.com:443/forums/thread/27705.aspx</link><pubDate>Fri, 04 Apr 2008 14:52:10 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:27705</guid><dc:creator>Very Grateful</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/27705.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=46&amp;PostID=27705</wfw:commentRss><description>&lt;p&gt;Thank you for speaking with me, Clay!&lt;/p&gt;
&lt;p&gt;You were a huge help.&amp;nbsp; Thanks again.&lt;/p&gt;</description></item><item><title>Re: Retrieve repeating section data from a SharePoint List</title><link>https://www.infopathdev.com:443/forums/thread/27666.aspx</link><pubDate>Thu, 03 Apr 2008 15:08:04 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:27666</guid><dc:creator>Very Grateful</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/27666.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=46&amp;PostID=27666</wfw:commentRss><description>&lt;p&gt;Sorry, I should have clarified that using the query fields and data fields that are automatically added to the main data source is not an option for the form initiator, who will not have access to our database.&amp;nbsp; My form works perfectly when it is only retrieving information and submitting to the database (multiple contacts per state appear in the repeating section and I can add new contacts).&amp;nbsp; The problem is that I want the form to retrieve the contact data from the SharePoint List, not the database-- it only gives me 1 contact per state.&lt;/p&gt;
&lt;p&gt;Here are the steps I have taken:&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;
&lt;div&gt;Created InfoPath form from the back end Contacts table (this automatically created queryFields and dataFields in the Main Data Source).&lt;/div&gt;&lt;/li&gt;
&lt;li&gt;
&lt;div&gt;Exported the Contacts table to a SharePoint List and connected the List to the form as a Secondary Data Source that automatically retrieves data.&lt;/div&gt;&lt;/li&gt;
&lt;li&gt;
&lt;div&gt;Added a new node (myNode) to the Main Data Source and added fields with the same names as the columns in the Contacts table and Contacts SharePoint List.&lt;/div&gt;&lt;/li&gt;
&lt;li&gt;
&lt;div&gt;Dragged State and Last Name from myNode onto the form&amp;#39;s layout.&amp;nbsp; State is a &amp;#39;text box&amp;#39; and Last Name is a &amp;#39;repeating text box&amp;#39; in a repeating section.&lt;/div&gt;&lt;/li&gt;
&lt;li&gt;
&lt;div&gt;Created a buttom with a Rule.&amp;nbsp; The Rule sets Last Name (from myNode) equal to Last Name (from SP), with a filter: where State (from SP) = State (from myNode).&lt;/div&gt;&lt;/li&gt;
&lt;li&gt;
&lt;div&gt;Previewed form, typed &amp;quot;NY&amp;quot; into the State text box, and clicked the button.&amp;nbsp; Only the 1st contact from NY appears in the Last Name text box.&lt;/div&gt;&lt;/li&gt;&lt;/ol&gt;
&lt;p&gt;Why don&amp;#39;t the rest of the NY contacts appear?&lt;/p&gt;
&lt;p&gt;Any suggestions are greatly appreciated!&lt;/p&gt;
&lt;p&gt;I would also like to see the example you described.&lt;/p&gt;
&lt;p&gt;&amp;nbsp;Thank you.&lt;/p&gt;</description></item><item><title>Re: Retrieve repeating section data from a SharePoint List</title><link>https://www.infopathdev.com:443/forums/thread/27649.aspx</link><pubDate>Thu, 03 Apr 2008 05:34:55 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:27649</guid><dc:creator>Clay Fox</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/27649.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=46&amp;PostID=27649</wfw:commentRss><description>&lt;p&gt;OK - Welcome to the forum.&lt;/p&gt;
&lt;p&gt;You must have some fields in your main data source, under data fields that you want this data stored.&amp;nbsp; The user will choose a contact state and then the&amp;nbsp;contact and this will get placed in the data to be submitted to Access. Correct?&lt;/p&gt;
&lt;p&gt;You do not really need to create another data node in your main form.&lt;/p&gt;
&lt;p&gt;Typically you would just make the field you want to store state in, from your data fields, a dropdown control in your form.&lt;/p&gt;
&lt;p&gt;Then have the source be the list of states from your secondary connection.&lt;/p&gt;
&lt;p&gt;Then put a dropdown on contact name and this would use the secondary list but with a filter where state = the state chosen in the drop down (the state field under Datafields)&amp;nbsp; This would then allow them to pick the contact they want.&lt;/p&gt;
&lt;p&gt;Then have a rule which would populate the rest of the fields based on the name they had chosen, such as phone or whatever.&lt;/p&gt;
&lt;p&gt;Email me if you would like to see an example.&lt;/p&gt;</description></item><item><title>Retrieve repeating section data from a SharePoint List</title><link>https://www.infopathdev.com:443/forums/thread/27646.aspx</link><pubDate>Thu, 03 Apr 2008 05:06:33 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:27646</guid><dc:creator>Very Grateful</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/27646.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=46&amp;PostID=27646</wfw:commentRss><description>I am using InfoPath and SharePoint 2003.  The main data source for my form is an Access database table, but I added a SharePoint List as a secondary data source (the form automatically retrieves the data from this List).  In the List, I have details for several hundred Contacts, including where they are located.  I would like users to enter a criteria into the form, for example &amp;quot;NY&amp;quot;, and then see all the Contacts located in NY-- similar to the &amp;#39;Run Query&amp;#39; button that&amp;#39;s automatically created when you design a form based on an Access table, but I am trying to query the SP List, not the database table.  Because not all states have the same number of contacts, I figure I need to use a repeating section.  

I added a set of data to the main data source (the form itself) with all the same field names as the SP List, and added &amp;quot;State&amp;quot; and &amp;quot;Last_Name&amp;quot; to the form layout.  Then I created a button to set the value of the form&amp;#39;s (main data source) &amp;quot;Last_Name&amp;quot; field equal to the SP List&amp;#39;s (secondary data source) &amp;quot;Last_Name&amp;quot;, filtered for when the two &amp;quot;State&amp;quot; fields are equal.  But when I preview the form and enter &amp;quot;NY&amp;quot; into the &amp;quot;State&amp;quot; field, then press the button, only 1 last name displays-- that of the 1st contact in the SP List located in NY.  Why don&amp;#39;t all the other NY last names appear??

I&amp;#39;d be tremendously grateful for any assistance.</description></item></channel></rss>