<?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>SQL Database Integration</title><link>https://www.infopathdev.com:443/forums/47.aspx</link><description>For questions concerning issues in the integration of SQL and Microsoft InfoPath.</description><dc:language>en</dc:language><generator>CommunityServer 2007 SP3 (Build: 31118.962)</generator><item><title>Autopopulate User Info from Database</title><link>https://www.infopathdev.com:443/forums/thread/78137.aspx</link><pubDate>Mon, 30 Apr 2012 15:25:42 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:78137</guid><dc:creator>Kazzahere</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/78137.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=47&amp;PostID=78137</wfw:commentRss><description>&lt;p&gt;Hi&lt;/p&gt;&lt;p&gt;I have created a very basic form which I want the standard user data such as name, department, manager etc to be autopopulated when the form opens with the details of the user logged into Windows.&lt;/p&gt;&lt;p&gt;I have created a data connection which seems to be pulling data through when no filter is added, when I add the filter nothing happens.&lt;/p&gt;&lt;p&gt;I have added the username function as a default value to a control. Then, for example, in the surname&amp;nbsp;control&amp;nbsp;I am setting the value to look at the secondary data source (sql database) for the surname and applying a filter so the username in the secondary data source matches the username on the form, @surname[@WINDOWS_USER_ID = Username]&lt;/p&gt;&lt;p&gt;I am quite new to IP and don&amp;#39;t know code.&lt;/p&gt;&lt;p&gt;Would be very grateful for any help.&lt;/p&gt;&lt;p&gt;Thanks&lt;/p&gt;&lt;p&gt;Karen&lt;/p&gt;</description></item></channel></rss>