<?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: Query for single item, rather than storing entire table in InfoPath</title><link>https://www.infopathdev.com:443/forums/thread/85402.aspx</link><pubDate>Tue, 18 Dec 2012 05:38:26 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:85402</guid><dc:creator>Jimmy</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/85402.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=44&amp;PostID=85402</wfw:commentRss><description>&lt;p&gt;We typically do not recommend using DB connections for the main data source, as this imposes limitations on the layout of the main data source and limits the form in other ways as well.&lt;/p&gt;&lt;p&gt;&amp;nbsp;What we recommend is to query the database through a webservice using a secondary data source.&amp;nbsp; We have developed a generic webservice (QueryDB, part of DBXL) that people have found quite useful.&amp;nbsp; Other options would include using a secondary data connection to SQL Server and using either code or qRules to modify the SQL query and query the database.&amp;nbsp; The&amp;nbsp;latter options&amp;nbsp;require a bit more caution, as you need to guard against SQL injection.&lt;/p&gt;</description></item><item><title>Query for single item, rather than storing entire table in InfoPath</title><link>https://www.infopathdev.com:443/forums/thread/84389.aspx</link><pubDate>Tue, 13 Nov 2012 19:51:14 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:84389</guid><dc:creator>gilwoodring</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/84389.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=44&amp;PostID=84389</wfw:commentRss><description>&lt;p&gt;I am currently connecting to a SQL Server successfully with InfoPath 2010, but I&amp;#39;m connecting to a table that has over 90,000 entries.&amp;nbsp; In my InfoPath form I only require 1 line item (5 values from the line item to be exact, 1x5) to be returned, but have discovered that InfoPath wants to store all 90,000+ items in memory (90,000x5) THEN select the 1 line I need.&amp;nbsp; Once this 1 line is selected, and the 5 values extracted, InfoPath STILL keeps the data intact when I save the file.&amp;nbsp; Talk about overkill.&lt;/p&gt;
&lt;p&gt;&amp;nbsp;Does anyone know of a way to query for a single line item similar to how it is done in SQL?&amp;nbsp; IE Select item1, item2, item3 from table ABC where this=that.&amp;nbsp; I prefer a codeless option.&lt;/p&gt;
&lt;p&gt;My goal is to simplify how users enter their data: Enter a part number, have InfoPath find the description, cost, and a few other values&amp;nbsp;for ONLY that part number.&amp;nbsp; All this needs to be a browser based form as well, running in SP2010.&lt;/p&gt;
&lt;p&gt;&amp;nbsp;Gil&lt;/p&gt;</description></item></channel></rss>