<?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>Browser Forms</title><link>https://www.infopathdev.com:443/forums/40.aspx</link><description>For browser form specific questions</description><dc:language>en</dc:language><generator>CommunityServer 2007 SP3 (Build: 31118.962)</generator><item><title>Re: Get current user info from SQL DB - No code</title><link>https://www.infopathdev.com:443/forums/thread/63479.aspx</link><pubDate>Mon, 24 Jan 2011 18:44:48 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:63479</guid><dc:creator>Hilary Stoupa</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/63479.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=40&amp;PostID=63479</wfw:commentRss><description>&lt;p&gt;Hi:&lt;/p&gt;
&lt;p&gt;The standard SQL connection in IP will pull all the data from the table. There is no way without code to add a dynamic where clause.&lt;/p&gt;
&lt;p&gt;If having all the data returned to your form and then filtering at that point isn&amp;#39;t a dealbreaker, you can do that -- run your query and set your values from the returned data, adding a filter where USER_ID is equal to the current username. &lt;/p&gt;
&lt;p&gt;If returning all the data to your form &lt;strong&gt;is&lt;/strong&gt; a dealbreaker, you can build or &lt;a href="http://www.qdabra.com/en/products/DBXL.aspx" target="_blank"&gt;buy&lt;/a&gt; a webservice that will return just the data you need, or write some custom code to do the same thing.&lt;/p&gt;
&lt;p&gt;Hope that helps!&lt;/p&gt;</description></item><item><title>Re: Get current user info from SQL DB - No code</title><link>https://www.infopathdev.com:443/forums/thread/63478.aspx</link><pubDate>Mon, 24 Jan 2011 18:05:57 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:63478</guid><dc:creator>BendingSP</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/63478.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=40&amp;PostID=63478</wfw:commentRss><description>&lt;p&gt;Just to add. No matter what filters I add it is pulling all the data from that specific SQL column. If I modify the data connection&lt;/p&gt;
&lt;p&gt;SELECT&amp;nbsp; USER_ID, EMPLOYEE_FIRST_NAME, &lt;/p&gt;
&lt;p&gt;FROM MYTABLE&lt;/p&gt;
&lt;p&gt;WHERE USER_ID = &amp;#39;The user name&amp;#39;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;It will pull my single user id.. however, I need the current user id and not a pre-set one.&lt;/p&gt;</description></item><item><title>Get current user info from SQL DB - No code</title><link>https://www.infopathdev.com:443/forums/thread/63450.aspx</link><pubDate>Sun, 23 Jan 2011 20:05:39 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:63450</guid><dc:creator>BendingSP</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/63450.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=40&amp;PostID=63450</wfw:commentRss><description>&lt;p&gt;&amp;nbsp;Hey guys, I am new to the forums and I hope you can help me out.&lt;/p&gt;&lt;p&gt;I am trying to pre-populate fields with current user information from an SQL DB but having some issues. I can pull the info from my udx connection, but I am not exactly sure how to filter the data to show only the current user information. I know about the SharePoint user profile way, which I wish I could use. However, according to our SharePoint Admin I am not allowed to use this. username() works in Infopath however.&amp;nbsp;&lt;/p&gt;&lt;p&gt;&amp;nbsp;Has anyone else done this before?&lt;/p&gt;&lt;p&gt;Thank you in advance for you help. &lt;br /&gt;&lt;/p&gt;</description></item></channel></rss>