<?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: Matching usernames - two data connections</title><link>https://www.infopathdev.com:443/forums/thread/42659.aspx</link><pubDate>Tue, 09 Jun 2009 17:13:11 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:42659</guid><dc:creator>Kolten</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/42659.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=42659</wfw:commentRss><description>Anyone?  This should be fairly simple - I could code it but I&amp;#39;d prefer to use Infopath so I can share the document later.</description></item><item><title>Re: Matching usernames - two data connections</title><link>https://www.infopathdev.com:443/forums/thread/42627.aspx</link><pubDate>Mon, 08 Jun 2009 20:14:00 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:42627</guid><dc:creator>Kolten</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/42627.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=42627</wfw:commentRss><description>I am using my own web service I created... It takes two strings as input (firstname and lastname) as input, looks up the ActiveD username based upon that, and returns the username.  That part is working fine...  The other connection (DB connection) is working as well - I have it listing the firstname/lastnames of people in the DB in a repeating table.

Beside each entry, I want the username from my webservice displayed.  But everything I have tried to display it has failed (either duplicate entries or not working at all).  

So how can I have data from two different data connections in a single repeating table, using the value from one data connection as a query value for the other?

Edit:  The DB information only stores firstname/lastname information.  I need to match it to the ActiveD information (using my web service), and display the result.  This is to help a vendor implement their Single Sign-On in their application (DB).</description></item><item><title>Re: Matching usernames - two data connections</title><link>https://www.infopathdev.com:443/forums/thread/42620.aspx</link><pubDate>Mon, 08 Jun 2009 18:58:38 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:42620</guid><dc:creator>warrtalon</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/42620.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=42620</wfw:commentRss><description>&lt;p&gt;Yes, the concept is easy, but the application within a repeating table is the tricky part.&amp;nbsp; Are you not using Active Directory as the basis for your user information?&amp;nbsp; I mean, are the first and last names in the DB not driven by what is in AD, and does your web service not go to AD or the profile database to find the username?&amp;nbsp; I&amp;#39;m asking this because I know you can set the default value of your username field to equal the AccountName attribute of the GetProfileByName web method in the User Profile Service exposed by MOSS.&amp;nbsp; I thought this method would give a different value for each row of the repeating table.&lt;/p&gt;</description></item><item><title>Re: Matching usernames - two data connections</title><link>https://www.infopathdev.com:443/forums/thread/42617.aspx</link><pubDate>Mon, 08 Jun 2009 18:09:03 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:42617</guid><dc:creator>Kolten</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/42617.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=42617</wfw:commentRss><description>It is just a textbox, and I have tried a few methods so far.
- a button that has rules to set the query parameter of the web service, then query it, and assign the value to the textbox.
- having the textbox as a repeating section inside the repeating table of the DB connection.  I thought I could show/hide values not applicable but this is cumbersome.

When it comes down to it, all I need to is use one set of data from one data connection to use as a query for another data connection, and populate the result.  This is easy for a single entry, but when you have a repeating table it makes life difficult.</description></item><item><title>Re: Matching usernames - two data connections</title><link>https://www.infopathdev.com:443/forums/thread/42615.aspx</link><pubDate>Mon, 08 Jun 2009 18:05:24 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:42615</guid><dc:creator>warrtalon</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/42615.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=42615</wfw:commentRss><description>&lt;p&gt;How are you currently populating that field?&amp;nbsp; Are you using a default value setting, or a rule?&lt;/p&gt;</description></item><item><title>Matching usernames - two data connections</title><link>https://www.infopathdev.com:443/forums/thread/42612.aspx</link><pubDate>Mon, 08 Jun 2009 17:51:20 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:42612</guid><dc:creator>Kolten</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/42612.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=42612</wfw:commentRss><description>I have one data connection that looks up a table in a database and pulls FIRSTNAME and LASTNAME.
I have another data connection that is a WEB SERVICE that accepts two strings: firstname and lastname, and outputs a username.

I wish to have a form that will act as a &amp;quot;match-maker&amp;quot;.  Take the Firstname and Lastname from the Database, feed that to my web service, and show the username.

I have a repeating table that shows the firstnames and lastnames from the Database connection.

Beside this, I want a textbox that will show it&amp;#39;s corresponding USERNAME the Web Service found.  

My problem lies in the fact that I can&amp;#39;t seem to have different values for this &amp;quot;username&amp;quot; textbox when it is part of the repeating table.  It will always show the most recent match, filling in the same values for the entire list of textboxes.

How can I show different values inside my repeating table?  Or, is there another way to do this?</description></item></channel></rss>