<?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: Querying multiple SharePoint lists to set a fields value</title><link>https://www.infopathdev.com:443/forums/thread/105513.aspx</link><pubDate>Mon, 15 Feb 2016 15:41:37 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:105513</guid><dc:creator>Hilary Stoupa</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/105513.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=44&amp;PostID=105513</wfw:commentRss><description>They weren&amp;#39;t added for SharePoint lists until InfoPath 2010, so I think even for long time form designers they are sometimes missed. They are great for equivalence - This Thing is equal to That Value - but for anything more complex, you can use REST, like This Thing is greater than That Value. :)</description></item><item><title>Re: Querying multiple SharePoint lists to set a fields value</title><link>https://www.infopathdev.com:443/forums/thread/105507.aspx</link><pubDate>Sat, 13 Feb 2016 01:25:54 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:105507</guid><dc:creator>Mark Helberg</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/105507.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=44&amp;PostID=105507</wfw:commentRss><description>That worked fantastic! I never knew what the purpose of the query fields were before, thank you.</description></item><item><title>Re: Querying multiple SharePoint lists to set a fields value</title><link>https://www.infopathdev.com:443/forums/thread/105505.aspx</link><pubDate>Fri, 12 Feb 2016 22:40:09 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:105505</guid><dc:creator>Hilary Stoupa</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/105505.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=44&amp;PostID=105505</wfw:commentRss><description>In your list connection, set it to not query on load (this is a checkbox on the last dialog of the list data connection wizard). In your form, when the user selects a category, set the category query field in your list data connection (the data connection has query fields and data fields) to the selected category. Then add a rule to query the data source. This should limit the returned rows. You may still get an error because of the list threshold, in which case, add an index to the category field in the list settings. Make sense?</description></item><item><title>Re: Querying multiple SharePoint lists to set a fields value</title><link>https://www.infopathdev.com:443/forums/thread/105504.aspx</link><pubDate>Fri, 12 Feb 2016 22:23:46 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:105504</guid><dc:creator>Mark Helberg</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/105504.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=44&amp;PostID=105504</wfw:commentRss><description>Yep, I was querying all 8000 rows.  Probably the problem?  There is a category that I could have the user select from a dropdown.  What column(s) would I need to index and then how do you limit the query results based upon the category?  By filtering in the query action?</description></item><item><title>Re: Querying multiple SharePoint lists to set a fields value</title><link>https://www.infopathdev.com:443/forums/thread/105503.aspx</link><pubDate>Fri, 12 Feb 2016 22:13:21 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:105503</guid><dc:creator>Hilary Stoupa</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/105503.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=44&amp;PostID=105503</wfw:commentRss><description>I wasn&amp;#39;t clear, sorry. Is there information in your form you can use to determine what rows you need from the list? Like - the user selects a department, and you know you only need rows that match that department? You aren&amp;#39;t currently querying for all 8000 rows, are you?</description></item><item><title>Re: Querying multiple SharePoint lists to set a fields value</title><link>https://www.infopathdev.com:443/forums/thread/105502.aspx</link><pubDate>Fri, 12 Feb 2016 22:07:35 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:105502</guid><dc:creator>Mark Helberg</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/105502.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=44&amp;PostID=105502</wfw:commentRss><description>Would I add an index to the ID field?  I can do that, but then how do I limit the number of rows returned in the query?</description></item><item><title>Re: Querying multiple SharePoint lists to set a fields value</title><link>https://www.infopathdev.com:443/forums/thread/105501.aspx</link><pubDate>Fri, 12 Feb 2016 22:01:56 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:105501</guid><dc:creator>Hilary Stoupa</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/105501.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=44&amp;PostID=105501</wfw:commentRss><description>Can you add an index to the list? I&amp;#39;ve found that on a list that exceeds the threshold, if there is an index, and if I use query fields to limit the number of rows returned, I can get past the list threshold.</description></item><item><title>Querying multiple SharePoint lists to set a fields value</title><link>https://www.infopathdev.com:443/forums/thread/105500.aspx</link><pubDate>Fri, 12 Feb 2016 21:57:58 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:105500</guid><dc:creator>Mark Helberg</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/105500.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=44&amp;PostID=105500</wfw:commentRss><description>I have a scenario where I have a list of about ~8000 rows.  I need to query that list to return a few values based upon a user input ID number.  The query was working fine when the list size was around 2000 rows, but now that it is close to 8000 I receive an error that the number of items returned has exceeded the limit.

I&amp;#39;m thinking that I need to split the large list into multiple smaller lists and sequentially query each list until the ID is found and values are returned.  For example, query list A, if not found, query list B, etc.  Does anybody know of a way to do this efficiently through rules?</description></item></channel></rss>