<?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>Web Services</title><link>https://www.infopathdev.com:443/forums/48.aspx</link><description> </description><dc:language>en</dc:language><generator>CommunityServer 2007 SP3 (Build: 31118.962)</generator><item><title>Re: How to pass value to a form to fetch data</title><link>https://www.infopathdev.com:443/forums/thread/26811.aspx</link><pubDate>Wed, 27 Feb 2008 15:01:56 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:26811</guid><dc:creator>Clay Fox</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/26811.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=48&amp;PostID=26811</wfw:commentRss><description>&lt;p&gt;You may try opening the web page when they click the submit button and the form closes. I am not sure what options you have with InfoPath once the form is already closing.&lt;/p&gt;</description></item><item><title>Re: How to pass value to a form to fetch data</title><link>https://www.infopathdev.com:443/forums/thread/26806.aspx</link><pubDate>Wed, 27 Feb 2008 10:19:19 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:26806</guid><dc:creator>sudheerd</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/26806.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=48&amp;PostID=26806</wfw:commentRss><description>&lt;p&gt;
Thank you for your help. Actually i could able to do that using the following Managed code(.NET).
 Dim strEmpCode As String
                strEmpCode = Application.User.UserName
                Dim dsSSNFormData As DataSource = Me.DataSources(0)
                Dim ns As XmlNamespaceManager = Me.NamespaceManager
                Dim xnEmpSSNData As XPathNavigator = dsSSNFormData.CreateNavigator()
                Dim xnEmpCode As XPathNavigator = xnEmpSSNData.SelectSingleNode(&amp;quot;/dfs:myFields/dfs:queryFields/tns:GetSSNDetails/tns:Employeecode&amp;quot;, ns)
                &amp;#39;xnEmpCode.SetValue(strEmpCode)
                dsSSNFormData.QueryConnection.Execute()


Now i have one more query. When i Submit the InfoPath form, it should redirect me to an .ASPX page. I tried to use  Response.Redirect(&amp;quot;mypage.aspx&amp;quot;) in Infopath event FormEvents_Submit . But there is no Response object. Any idea?
&lt;/p&gt;</description></item><item><title>Re: How to pass value to a form to fetch data</title><link>https://www.infopathdev.com:443/forums/thread/26619.aspx</link><pubDate>Wed, 20 Feb 2008 15:33:58 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:26619</guid><dc:creator>Clay Fox</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/26619.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=48&amp;PostID=26619</wfw:commentRss><description>&lt;p&gt;In Sharepoint 2007 there are some ways to determine the user&amp;#39;s login or name which should help you.&lt;/p&gt;
&lt;p&gt;I use an Active Directory web service which identifies the form user by their network login, even if they are accessing remotely via VPN, etc.&amp;nbsp; This can also access any data in Active Directory such as location or manager, etc&lt;/p&gt;</description></item><item><title>How to pass value to a form to fetch data</title><link>https://www.infopathdev.com:443/forums/thread/26608.aspx</link><pubDate>Wed, 20 Feb 2008 06:46:16 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:26608</guid><dc:creator>sudheerd</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/26608.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=48&amp;PostID=26608</wfw:commentRss><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;I am new to Infopath 2007 and want to develop one form which i want to deploy on Share point form library. I have created one form template in Infopath 2007, which fetches and display user information based on his user code(receiving data using XML webservice). But my question is, how can i get data displayed based on the user login(user code). when any user logs in, i have to pass 6 digit code to the form, which will then fetch the data for that user code. &lt;/p&gt;
&lt;p&gt;Thanks and Regards,&lt;/p&gt;
&lt;p&gt;Sudheer&lt;/p&gt;</description></item></channel></rss>