<?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>General</title><link>https://www.infopathdev.com:443/forums/41.aspx</link><description>If you're not sure where to ask your question, ask it here. If necessary, our moderators will make sure it gets classified in the correct board.</description><dc:language>en</dc:language><generator>CommunityServer 2007 SP3 (Build: 31118.962)</generator><item><title>Re: Multiple data connection so re query data connection</title><link>https://www.infopathdev.com:443/forums/thread/122512.aspx</link><pubDate>Tue, 10 Mar 2020 08:54:46 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:122512</guid><dc:creator>welshartnow</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/122512.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=122512</wfw:commentRss><description>&lt;ol&gt;&lt;li&gt;&amp;nbsp;Add a new data connection GetUserProfileByName, location something like &lt;a href="http://mysite/_vti_bin/userprofileservice.asmx?WSDL"&gt;http://mysite/_vti_bin/userprofileservice.asmx?WSDL&lt;/a&gt;&amp;nbsp; , operation select GetUserProfileByName, untick automatically retrieve data when form is opened&lt;/li&gt;&lt;li&gt;This data connection can be queried multiple times but you need to supply the particular&amp;nbsp;account name&amp;nbsp;each time you query the connection&lt;/li&gt;&lt;li&gt;For user1 make sure you have a field storing their accountusername on your view then on this field set a rule AccountName = user1account name&lt;/li&gt;&lt;li&gt;Now set another rule on this field&amp;nbsp;which queries for data (getuserprofilebyname) based on the new account name&lt;/li&gt;&lt;li&gt;Now add another rule on this field which picks&amp;nbsp;up one of the returned fields for the particular user and allocates it to a field on your form eg Rule ,&amp;nbsp;User1email (field)&amp;nbsp;&amp;nbsp; =&amp;nbsp; Value[Name=&amp;quot;WorkEmail&amp;quot;]&lt;/li&gt;&lt;li&gt;Then keep repeating for&amp;nbsp; each of the fields you require returned for user1&lt;/li&gt;&lt;li&gt;Now for user2 have a field storing their particular account name and repeat the above to do the same as above--&lt;/li&gt;&lt;/ol&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;Does this make any sense?&amp;nbsp;&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;Regards Martin&amp;nbsp;&lt;/p&gt;</description></item><item><title>Re: Multiple data connection so re query data connection</title><link>https://www.infopathdev.com:443/forums/thread/122509.aspx</link><pubDate>Mon, 09 Mar 2020 16:59:03 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:122509</guid><dc:creator>Sgt Shagrat</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/122509.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=122509</wfw:commentRss><description>Can you explain me how u did it? Wich rules I had to use? I&amp;#39;m confusing just a little sorry. Thanks in advance</description></item><item><title>Re: Multiple data connection so re query data connection</title><link>https://www.infopathdev.com:443/forums/thread/122472.aspx</link><pubDate>Mon, 24 Feb 2020 16:23:34 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:122472</guid><dc:creator>welshartnow</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/122472.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=122472</wfw:commentRss><description>Thank you very much for your reply.  Yes I have tried this and it does work, originally I was binding the fields to the data query fields and of course they kept changing as I queried the connection each time, so I cleared those bindings out and set the value of the fields within the rules. And I can query as many times as I wish .

Thank you Hillary!!</description></item><item><title>Re: Multiple data connection so re query data connection</title><link>https://www.infopathdev.com:443/forums/thread/122469.aspx</link><pubDate>Mon, 24 Feb 2020 15:48:20 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:122469</guid><dc:creator>Hilary Stoupa</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/122469.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=122469</wfw:commentRss><description>It depends on how you are using the results. If you query the data connection, use rules to set some fields, and then query the data connection again with a different filter, that will work fine. If you are using it for a dropdown, however, whatever the last result set is will display (same issue with a default value).</description></item><item><title>Multiple data connection so re query data connection</title><link>https://www.infopathdev.com:443/forums/thread/122466.aspx</link><pubDate>Sat, 22 Feb 2020 18:07:02 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:122466</guid><dc:creator>welshartnow</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/122466.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=122466</wfw:commentRss><description>I need to query the same data source multiple times.  Can I re filter the same data source multiple times or do I need to create multiple data connections of exactly the same type?  

Thank you for any advice on this.</description></item></channel></rss>