<?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: Using AD information to look up data from SQL</title><link>https://www.infopathdev.com:443/forums/thread/62112.aspx</link><pubDate>Thu, 09 Dec 2010 14:19:15 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:62112</guid><dc:creator>Patrick Halstead</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/62112.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=44&amp;PostID=62112</wfw:commentRss><description>&lt;p&gt;Hi Mark,&lt;/p&gt;
&lt;p&gt;Assuming you have a hardcoded SQL-database connection, you have the following options:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;
&lt;div&gt;use a Web Service to filter - Qdabra.com (sponsor of this site) provides a free trial download of DBXL which will do this&lt;/div&gt;&lt;/li&gt;
&lt;li&gt;
&lt;div&gt;write code in the form to do the query - some SQL client commands require full trust permission which may be another hurdle (if code isn&amp;#39;t)&lt;/div&gt;&lt;/li&gt;&lt;/ul&gt;
&lt;p&gt;Bottom line: InfoPath doesn&amp;#39;t support parameterized filtering of SQL on the client. That&amp;#39;s why we developed DBXL back in 2004.&lt;/p&gt;
&lt;p&gt;Good luck!&lt;/p&gt;</description></item><item><title>Using AD information to look up data from SQL</title><link>https://www.infopathdev.com:443/forums/thread/62105.aspx</link><pubDate>Thu, 09 Dec 2010 09:58:05 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:62105</guid><dc:creator>mark-scott</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/62105.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=44&amp;PostID=62105</wfw:commentRss><description>&lt;p&gt;I have a form that is conencted to our Active Directory and our Company Management database.&amp;nbsp;&amp;nbsp; When I put in the SQL enabled fields, I get a list of ALL records in the SQL table.&amp;nbsp;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;How I want the form to work is to query the current logged in user via the AD connection&amp;nbsp;which then looks up and finds the equivelent record in our database,&amp;nbsp; is this possible?&lt;/p&gt;
&lt;p&gt;Regards&lt;/p&gt;
&lt;p&gt;Mark&lt;/p&gt;</description></item></channel></rss>