<?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: InfoPath &amp; Sharepoint Lists - linking list items when column values match exactly</title><link>https://www.infopathdev.com:443/forums/thread/90611.aspx</link><pubDate>Wed, 12 Jun 2013 08:38:37 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:90611</guid><dc:creator>CharlieBrown21</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/90611.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=90611</wfw:commentRss><description>&lt;p&gt;I managed to figure this out using conditional formatting in the end. &lt;/p&gt;
&lt;p&gt;I created the data connection to list B and set the buttonn to query the data connection.&amp;nbsp;I added the repeating table and placed a condition on the table that hides any results where the 2 columns are not equal. Now when the button is clicked, only items relating to the report open are shown. &lt;/p&gt;
&lt;p&gt;This seems to be working fine at the moment but if there&amp;#39;s a better way to do this, please give me your advice :) &lt;/p&gt;
&lt;p&gt;Thanks! &lt;/p&gt;</description></item><item><title>Re: InfoPath &amp; Sharepoint Lists - linking list items when column values match exactly</title><link>https://www.infopathdev.com:443/forums/thread/90601.aspx</link><pubDate>Tue, 11 Jun 2013 20:44:13 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:90601</guid><dc:creator>CharlieBrown21</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/90601.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=90601</wfw:commentRss><description>&lt;p&gt;Ok, I followed your advice properly this time and I&amp;#39;ve managed to get to the point where when I click the button, it shows all list items in&amp;nbsp;the repeating table. The only issue now is, I don&amp;#39;t want to see &lt;em&gt;all&lt;/em&gt; items - I only need to see items related to the ID number of the form open at the time when the button is pressed. &lt;/p&gt;
&lt;p&gt;I tried to set the value of the queryfield like you said in step 3 but I don&amp;#39;t want to define a number here - I need to define that the value should be the ID number of the form open at the time. &lt;/p&gt;
&lt;p&gt;The rule I tried was: set value of field - queryFields/RelatedReportNumber = ID (queryField of Main Data Connection). And then query the secondary data connection to bring up the results. &lt;/p&gt;
&lt;p&gt;This just brings up &lt;strong&gt;all&lt;/strong&gt; items in the secondary data connection. &lt;/p&gt;
&lt;p&gt;Sorry - really showing my newbie status! :( &lt;/p&gt;</description></item><item><title>Re: InfoPath &amp; Sharepoint Lists - linking list items when column values match exactly</title><link>https://www.infopathdev.com:443/forums/thread/90549.aspx</link><pubDate>Mon, 10 Jun 2013 18:53:21 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:90549</guid><dc:creator>ErnestoM</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/90549.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=90549</wfw:commentRss><description>&lt;p&gt;&amp;nbsp;I don&amp;#39;t think you need a condition. You need to be setting the value of the queryField.&lt;/p&gt;</description></item><item><title>Re: InfoPath &amp; Sharepoint Lists - linking list items when column values match exactly</title><link>https://www.infopathdev.com:443/forums/thread/90524.aspx</link><pubDate>Mon, 10 Jun 2013 13:40:17 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:90524</guid><dc:creator>CharlieBrown21</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/90524.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=90524</wfw:commentRss><description>&lt;p&gt;Hi All, I&amp;#39;m still stuck with this. Can anyone help please? &lt;/p&gt;
&lt;p&gt;Thanks. &lt;/p&gt;</description></item><item><title>Re: InfoPath &amp; Sharepoint Lists - linking list items when column values match exactly</title><link>https://www.infopathdev.com:443/forums/thread/90495.aspx</link><pubDate>Fri, 07 Jun 2013 13:51:09 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:90495</guid><dc:creator>CharlieBrown21</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/90495.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=90495</wfw:commentRss><description>&lt;p&gt;Hi Ernesto, &lt;/p&gt;
&lt;p&gt;I tried this a few nights ago and got to the point where when I clicked the button, the query ran and a window opened showing the results. This is fine for what I need but ... I (stupidly!) didn&amp;#39;t save it. I&amp;#39;m desperately trying to recreate what I did the other evening but I just can&amp;#39;t get the query to work. Can you help please? &lt;/p&gt;
&lt;p&gt;A bit more info: &lt;/p&gt;
&lt;p&gt;I have&amp;nbsp;a button&amp;nbsp;set to perform the &amp;quot;query with data connection&amp;quot; action. The data connection connects to List B. The condition on this is: The ID number&amp;nbsp;in the queryfields of List A exactly matches a specific column&amp;#39;s datafield in List B. At the moment when I click the button, nothing happens. I&amp;#39;m not sure what I&amp;#39;m doing differently from when I got it right the first time! &lt;/p&gt;
&lt;p&gt;&amp;nbsp;Thanks in advance! :) &lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;</description></item><item><title>Re: InfoPath &amp; Sharepoint Lists - linking list items when column values match exactly</title><link>https://www.infopathdev.com:443/forums/thread/90385.aspx</link><pubDate>Mon, 03 Jun 2013 19:35:04 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:90385</guid><dc:creator>CharlieBrown21</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/90385.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=90385</wfw:commentRss><description>&lt;p&gt;Thank you for your help Ernesto, I will give it a try and let you know.&amp;nbsp;Fingers crossed! &lt;/p&gt;</description></item><item><title>Re: InfoPath &amp; Sharepoint Lists - linking list items when column values match exactly</title><link>https://www.infopathdev.com:443/forums/thread/90308.aspx</link><pubDate>Fri, 31 May 2013 13:12:28 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:90308</guid><dc:creator>ErnestoM</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/90308.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=90308</wfw:commentRss><description>&lt;p&gt;When you set up a data connection to a SharePoint list, you&amp;#39;ll see two groups in the data source: queryFields and dataFields. The dataFields&amp;nbsp;contains the data your data connection returned. The queryFields allow you to filter. So what you&amp;#39;ll likely need to do is:&lt;/p&gt;&lt;p&gt;1. Set up your data connection to the ShP list. Don&amp;#39;t set it to execute on load.&lt;/p&gt;&lt;p&gt;2. Add a button to the form.&lt;/p&gt;&lt;p&gt;3. Add a rule to the button that sets the value of the queryField to whatever value you want, i.e. queryFields/ReportNumber = 2&lt;/p&gt;&lt;p&gt;4. Add a rule that queries the data connection created in 1.&lt;/p&gt;&lt;p&gt;5. Drag the dataFields repeating node into your view (to display results).&lt;/p&gt;&lt;p&gt;Hope this helps!&lt;/p&gt;</description></item><item><title>InfoPath &amp; Sharepoint Lists - linking list items when column values match exactly</title><link>https://www.infopathdev.com:443/forums/thread/90302.aspx</link><pubDate>Fri, 31 May 2013 09:06:50 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:90302</guid><dc:creator>CharlieBrown21</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/90302.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=90302</wfw:commentRss><description>&lt;p&gt;Hi All, I am new to this forum (&amp;amp; using InfoPath with Sharepoint!) so please bear with me! :) &lt;/p&gt;
&lt;p&gt;I&amp;nbsp;have an InfoPath form set up and I&amp;#39;ve linked it to Sharepoint list &amp;#39;A&amp;#39;. As forms&amp;nbsp;are submitted to list &amp;#39;A&amp;#39;,&amp;nbsp;each item is assigned an&amp;nbsp;ID number in the list.&amp;nbsp;I have a second&amp;nbsp;Sharepoint list &amp;#39;B&amp;#39; which has a column called &amp;quot;Related Report No.&amp;quot; - basically this column looks up the ID numbers available in Sharepoint list &amp;#39;A&amp;#39; and allows the user to select the related item ID number from list &amp;#39;A&amp;#39;. &lt;/p&gt;
&lt;p&gt;What I&amp;#39;m looking for is a way to add a button or hyperlink&amp;nbsp;on my InfoPath form (in list &amp;#39;A&amp;#39;) which when clicked, brings up all items in Sharepoint list &amp;#39;B&amp;#39; when the number in the &amp;quot;Related Report No&amp;quot; column exactly matches the ID number of the item in Sharepoint list &amp;#39;A&amp;#39;. I need it to be a kind of &amp;quot;view&amp;quot; rather than populating any list fields in InfoPath. &lt;/p&gt;
&lt;p&gt;I&amp;#39;ve tried all sorts of rules, filters, data connections, views etc but just can&amp;#39;t get it right! I&amp;#39;m pretty sure it can be done by creating a Sharepoint view for each item ID number but this isn&amp;#39;t really appropriate for my need and would be a nightmare as the number of records increases!! &lt;/p&gt;
&lt;p&gt;Does anyone know if this is possible? If so, could you please explain how?! Please let me know if you need any more information to be able to help me! &lt;/p&gt;
&lt;p&gt;Thanks!! :) &lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;</description></item></channel></rss>