<?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>Newbie Questions</title><link>https://www.infopathdev.com:443/forums/39.aspx</link><description>New to InfoPath? Search to see if your question has already been answered. If it has not, then ask it here or the appropriate topic forum.</description><dc:language>en</dc:language><generator>CommunityServer 2007 SP3 (Build: 31118.962)</generator><item><title>Re: data connection question</title><link>https://www.infopathdev.com:443/forums/thread/48384.aspx</link><pubDate>Thu, 29 Oct 2009 20:38:29 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:48384</guid><dc:creator>mattb</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/48384.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=39&amp;PostID=48384</wfw:commentRss><description>&lt;p&gt;nevermind :-)&amp;nbsp; i need more coffee!&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;thank you for your help&lt;/p&gt;</description></item><item><title>Re: data connection question</title><link>https://www.infopathdev.com:443/forums/thread/48383.aspx</link><pubDate>Thu, 29 Oct 2009 20:37:47 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:48383</guid><dc:creator>warrtalon</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/48383.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=39&amp;PostID=48383</wfw:commentRss><description>&lt;p&gt;I gave a link with a full write-up.&lt;/p&gt;</description></item><item><title>Re: data connection question</title><link>https://www.infopathdev.com:443/forums/thread/48382.aspx</link><pubDate>Thu, 29 Oct 2009 20:35:51 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:48382</guid><dc:creator>mattb</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/48382.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=39&amp;PostID=48382</wfw:commentRss><description>&lt;p&gt;Thank you.&amp;nbsp; How do I get the ProjectID (or any other unique identifier)&amp;nbsp;saved in the form&amp;#39;s main data source?&lt;/p&gt;</description></item><item><title>Re: data connection question</title><link>https://www.infopathdev.com:443/forums/thread/48381.aspx</link><pubDate>Thu, 29 Oct 2009 20:12:46 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:48381</guid><dc:creator>warrtalon</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/48381.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=39&amp;PostID=48381</wfw:commentRss><description>&lt;p&gt;You can&amp;#39;t do parameterized queries in 2007 (but you can in 2010), however ,all you need to do is filter the repeating table using conditional formatting that says &amp;quot;if projectID (or projectname or any other unique identifier) from the secondary data connection is not equal to the projectID saved in the form&amp;#39;s main data source, then hide control.&amp;quot;&amp;nbsp; When you apply this conditional formatting to a repeating table, it hides all rows that don&amp;#39;t match.&amp;nbsp; The resulting row in this case would be the row corresponding to the current form, and you would only display the columns for Modified and ModifiedBy.&lt;/p&gt;
&lt;p&gt;You start by making your data connection and then dragging the repeating group of that data connection to the canvas.&amp;nbsp; Remove all columns other than the two you mentioned, then set the conditional formatting.&amp;nbsp; It will always only show one row as long as you use a unique identifier.&amp;nbsp; You just need to remember to set that unique identifer within a hidden field in the form template schema.&lt;/p&gt;
&lt;p&gt;If you want to use the ID, then I have a method for retrieving that from within your form upon submission:&lt;/p&gt;
&lt;p&gt;&lt;a title="Auto-Numbering InfoPath&amp;nbsp;Forms" href="http://claytoncobb.wordpress.com/2009/06/15/auto-numbering-infopath-forms/"&gt;&lt;strong&gt;&lt;font color="#536d88"&gt;InfoPath – Auto-Numbering&amp;nbsp;Forms&lt;/font&gt;&lt;/strong&gt;&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;As a teaser, in InfoPath 2010 and SharePoint 2010, you&amp;#39;ll be able to first choose the query parameter (projectID in this case), send it to the SharePoint list data connection, and then retrieve ONLY the relevant record(s) based on the query.&amp;nbsp; This allows you to do server-side queries and only download the smallest set of data that is necessary to fulfill the query.&amp;nbsp; That is a huge thing...&lt;/p&gt;
&lt;p&gt;In 2007, you can only do this dynamic querying with custom code or by using the handy dandy tools provided by Qdabra - the company who runs this forum.&amp;nbsp; Check out their product list, because they have a Query Builder tool and the ability to dynamically change filtered SP data connections based on data chosen in the form.&lt;/p&gt;</description></item><item><title>data connection question</title><link>https://www.infopathdev.com:443/forums/thread/48379.aspx</link><pubDate>Thu, 29 Oct 2009 19:59:56 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:48379</guid><dc:creator>mattb</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/48379.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=39&amp;PostID=48379</wfw:commentRss><description>&lt;p&gt;Is it possible to have a receive data connection which pulls the &amp;quot;Modified&amp;quot; and &amp;quot;Modified By&amp;quot; field from a SharePoint form library?&amp;nbsp; &lt;/p&gt;
&lt;p&gt;&amp;nbsp;Users will open a form and update status multiple times and I want to populate when and who last updated the form.&amp;nbsp; The form will not be opened from within sharepoint but rather by link or attachent so they wont see the &amp;quot;Modified&amp;quot; and &amp;quot;Modified By&amp;quot; in the SharePoint list.&amp;nbsp; &lt;/p&gt;
&lt;p&gt;If I do a data connection to receive the two fields from the SharePoint library, I don&amp;#39;t see where I can specify that I want the value for the opened form and not all values in that column.&lt;/p&gt;
&lt;p&gt;&amp;nbsp;Thanks!&lt;/p&gt;</description></item></channel></rss>