<?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>Newbie Questions</title><link>https://www.infopathdev.com:443/forums/39.aspx</link><description>New to InfoPath? Search to see if your question has already been answered. If it has not, then ask it here or the appropriate topic forum.</description><dc:language>en</dc:language><generator>CommunityServer 2007 SP3 (Build: 31118.962)</generator><item><title>Re: Pass a form field value to a secondary datasource as a paramater</title><link>https://www.infopathdev.com:443/forums/thread/95164.aspx</link><pubDate>Fri, 10 Jan 2014 22:39:18 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:95164</guid><dc:creator>Hilary Stoupa</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/95164.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=39&amp;PostID=95164</wfw:commentRss><description>&lt;p&gt;Excellent! I just realized that the MSDN sample was also needing to query for a specific employee Id. :)&lt;/p&gt;</description></item><item><title>Re: Pass a form field value to a secondary datasource as a paramater</title><link>https://www.infopathdev.com:443/forums/thread/95163.aspx</link><pubDate>Fri, 10 Jan 2014 22:28:08 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:95163</guid><dc:creator>moneyhan</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/95163.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=39&amp;PostID=95163</wfw:commentRss><description>&lt;p&gt;Thank you very much!&amp;nbsp; That actually did the trick.&amp;nbsp;&lt;/p&gt;</description></item><item><title>Re: Pass a form field value to a secondary datasource as a paramater</title><link>https://www.infopathdev.com:443/forums/thread/95154.aspx</link><pubDate>Fri, 10 Jan 2014 20:23:28 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:95154</guid><dc:creator>Hilary Stoupa</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/95154.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=39&amp;PostID=95154</wfw:commentRss><description>&lt;p&gt;I&amp;#39;m sorry to tell you your options here are limited - you can use a web service to return just the data you need (custom, DBXL, etc.). You could use qRules - it can add a &amp;quot;where&amp;quot; clause with the ModifySqlQuery command - or you can write code - here&amp;#39;s an MSDN link that might help there: &lt;/p&gt;
&lt;p&gt;IP 2007 - &lt;a href="http://msdn.microsoft.com/en-us/library/office/microsoft.office.interop.infopath.semitrust.adoadapterobject.aspx"&gt;http://msdn.microsoft.com/en-us/library/office/microsoft.office.interop.infopath.semitrust.adoadapterobject.aspx&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;IP 2010 / 2013 - &lt;a href="http://msdn.microsoft.com/en-us/library/office/microsoft.office.infopath.adoqueryconnection.command.aspx"&gt;http://msdn.microsoft.com/en-us/library/office/microsoft.office.infopath.adoqueryconnection.command.aspx&lt;/a&gt;&lt;/p&gt;</description></item><item><title>Pass a form field value to a secondary datasource as a paramater</title><link>https://www.infopathdev.com:443/forums/thread/95153.aspx</link><pubDate>Fri, 10 Jan 2014 20:15:55 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:95153</guid><dc:creator>moneyhan</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/95153.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=39&amp;PostID=95153</wfw:commentRss><description>&lt;p&gt;Hi Everyone,&lt;/p&gt;&lt;p&gt;&amp;nbsp;Sorry if this has been answered a hundred times and I just couldn&amp;#39;t find it..&lt;/p&gt;&lt;p&gt;&amp;nbsp;I am&amp;nbsp;querying a record set in SQL server that is over 50,000 records.&amp;nbsp; Needless to say, if I can&amp;#39;t pass a&amp;nbsp;parameter (employeeID in this case) to get the specific record I am looking for the performance is terrible.&amp;nbsp; I am hoping there is a way to use a SQL secondary data source with&amp;nbsp;a parameter to avoid the overhead.&amp;nbsp; I have not been able to find anything.&amp;nbsp; I am hoping to do it without code as I am not an up to date programmer (Classic ASP is where I stopped).&amp;nbsp; I also don&amp;#39;t think I have the option of a Web Service either.&lt;/p&gt;&lt;p&gt;Thanks in advance.&amp;nbsp;&lt;/p&gt;</description></item></channel></rss>