<?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: Compare Username Field from InfoPath with Username Field from DB and display Namefield</title><link>https://www.infopathdev.com:443/forums/thread/51540.aspx</link><pubDate>Tue, 09 Feb 2010 08:09:03 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:51540</guid><dc:creator>partysan</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/51540.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=44&amp;PostID=51540</wfw:commentRss><description>&lt;p&gt;&amp;nbsp;Thank you Hilary but I found another way to solve this problem,&lt;/p&gt;&lt;p&gt;I get the information from LDAP.&lt;/p&gt;&lt;p&gt;&lt;a href="http://msdn.microsoft.com/en-us/library/bb952744.aspx#ip2007GettingUserInformationActiveDirectory_ReadIt" title="Adding User Information from Active Directory Domain Services to InfoPath 2007 Forms" target="_blank"&gt;http://msdn.microsoft.com/en-us/library/bb952744.aspx#ip2007GettingUserInformationActiveDirectory_ReadIt &lt;/a&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;regards&lt;/p&gt;&lt;p&gt;Philipp &lt;br /&gt;&lt;/p&gt;</description></item><item><title>Re: Compare Username Field from InfoPath with Username Field from DB and display Namefield</title><link>https://www.infopathdev.com:443/forums/thread/51467.aspx</link><pubDate>Sat, 06 Feb 2010 01:12:38 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:51467</guid><dc:creator>Hilary Stoupa</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/51467.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=44&amp;PostID=51467</wfw:commentRss><description>&lt;p&gt;Hi -- are you talking about using the a form field in your form as part of the SQL query in your data connection? If so, I&amp;#39;m afraid your choices are code or web services (we sell a great one that does this, and you can get a free trial &lt;a href="http://www.qdabra.com/en/products/DBXL.aspx"&gt;here&lt;/a&gt;).&lt;/p&gt;</description></item><item><title>Compare Username Field from InfoPath with Username Field from DB and display Namefield</title><link>https://www.infopathdev.com:443/forums/thread/51449.aspx</link><pubDate>Fri, 05 Feb 2010 15:40:59 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:51449</guid><dc:creator>partysan</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/51449.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=44&amp;PostID=51449</wfw:commentRss><description>&lt;p&gt;&amp;nbsp;Hello!&lt;/p&gt;&lt;p&gt;&amp;nbsp;Im very interessted to solve the following problem:&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;I have a Database (*.mdb) with two fields.&lt;/p&gt;&lt;p&gt;Username and Name.&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;&amp;nbsp;Furhtermore a Infopath form with two fields.&lt;/p&gt;&lt;p&gt;Username ( fieldname: UsernameAusSystem; value: userName())&lt;br /&gt;&lt;/p&gt;&lt;p&gt;Name&amp;nbsp; (fieldname: NamenAusDB; value: @Name-&amp;gt;get the Name field from the Dataconnection)&lt;/p&gt;&lt;p&gt;&amp;nbsp; &lt;br /&gt;&lt;/p&gt;&lt;p&gt;Database and Infopath Form are connected with a simple dataconnection.&lt;/p&gt;&lt;p&gt;The goal is&amp;nbsp; compare the Username field from Infopath with the Username field from the DB&lt;/p&gt;&lt;p&gt;and if its machted then put&amp;nbsp; the value from the Database Name field into Infopath Name field.&lt;/p&gt;&lt;p&gt;The following SQL-Code doesnt work:&lt;/p&gt;&lt;p&gt;select [ID],[Usernamen],[Name] from [UsernameAusDB] as [UsernameAusDB]&lt;br /&gt;where [Usernamen] like [UsernameAusSystem]&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;I think it is a little problem, if i write:&lt;/p&gt;&lt;p&gt;&amp;nbsp;select [ID],[Usernamen],[Name] from [UsernameAusDB] as [UsernameAusDB]&lt;br /&gt;
where [Usernamen] like &amp;quot;JohnSmith&amp;quot;&lt;/p&gt;&lt;p&gt;and JohnSmith is a value in the database, it works.&lt;/p&gt;&lt;p&gt;Can anybody write me the write syntax? &lt;/p&gt;&lt;p&gt;&amp;nbsp;Regards&lt;/p&gt;&lt;p&gt;Philipp &lt;br /&gt;&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;</description></item></channel></rss>