<?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: Autofill Through SharePoint Data Connection</title><link>https://www.infopathdev.com:443/forums/thread/63205.aspx</link><pubDate>Fri, 14 Jan 2011 19:09:59 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:63205</guid><dc:creator>Hilary Stoupa</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/63205.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=39&amp;PostID=63205</wfw:commentRss><description>When the trial expires, qRules will stop working in your template. So if you were using qRules commands for logic in your form, those would cease to function. You can upgrade a form with the trial to the full version, however, and it will then continue to function correctly.</description></item><item><title>Re: Autofill Through SharePoint Data Connection</title><link>https://www.infopathdev.com:443/forums/thread/63204.aspx</link><pubDate>Fri, 14 Jan 2011 19:03:48 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:63204</guid><dc:creator>Matt1987</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/63204.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=39&amp;PostID=63204</wfw:commentRss><description>&lt;p&gt;Great tip, thanks Ernesto, I will take a look.&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;A quick question on Qdabra - is the program required to use the form, or can I use the trial version to create the code with no ill effects on the form once the trial expires&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Thanks,&lt;/p&gt;
&lt;p&gt;Matt&lt;/p&gt;</description></item><item><title>Re: Autofill Through SharePoint Data Connection</title><link>https://www.infopathdev.com:443/forums/thread/63202.aspx</link><pubDate>Fri, 14 Jan 2011 18:03:43 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:63202</guid><dc:creator>ErnestoM</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/63202.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=39&amp;PostID=63202</wfw:commentRss><description>&lt;p&gt;I&amp;#39;m sure this is doable in code, even though I&amp;#39;m not a programmer. Your code will probably need to iterate thru the list of codes and get the corresponding data from SharePoint, then copy those values to the main data source.&lt;br /&gt;&lt;/p&gt;&lt;p&gt;A shortcut would be to filter data on the server using &lt;a href="http://www.qdabra.com/en/products/qRules.aspx"&gt;qRules&lt;/a&gt;. Here&amp;#39;s a &lt;a href="http://www.infopathdev.com/files/folders/qrules/entry49214.aspx"&gt;PDF&lt;/a&gt; with step by step to do this. &lt;/p&gt;&lt;p&gt;Good luck! &lt;br /&gt;&lt;/p&gt;</description></item><item><title>Autofill Through SharePoint Data Connection</title><link>https://www.infopathdev.com:443/forums/thread/63064.aspx</link><pubDate>Tue, 11 Jan 2011 20:16:01 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:63064</guid><dc:creator>Matt1987</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/63064.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=39&amp;PostID=63064</wfw:commentRss><description>&lt;div class="ForumPostContentText"&gt;
&lt;p&gt;Hello,&lt;/p&gt;
&lt;p&gt;&amp;nbsp;I am new to InfoPath and am not familiar with code at all.&amp;nbsp; I have been teaching myself the functions I need to learn but seem to be at a standstill.&amp;nbsp; I have found other, similar forum posts but none have been able to help me solve my issue.&lt;/p&gt;
&lt;p&gt;&amp;nbsp;I am using InfoPath 2010 and have designed a 2007 Compatible Web Form, and the form works perfectly except for one piece.&lt;/p&gt;
&lt;p&gt;&amp;nbsp;As one of the main functions of the form, users can enter a part number into a repeating table, and 3 fields are populated automatically via a data connection to a Sharepoint list: Part Description, Unit of Measure (Price Unit), and Base Price.&amp;nbsp; Originally I had each line of the repeating table pull data from the Sharepoint list as users entered the part number, so that the user entered a part number and data was autofilled on the spot, before adding any more lines to the repeating table for more entries.&amp;nbsp; However, as the list that contains the part numbers on SharePoint is so massive, the query time when doing this made the form almost unuseable due to the time it took to populate each field.&amp;nbsp; My solution to this was to add a &amp;quot;Fill Data&amp;quot; button that would query for data only when the user clicked the button, and the form would then go out and pull descriptions based on the part numbers that the user had entered on each line of the repeating table.&amp;nbsp; This worked much better, however here is where the problem arose.&amp;nbsp; Instead of pulling data for each line, the form filled ALL part descriptions, UOM&amp;#39;s, and Base Prices based upon the first line ONLY, so that the form contained multiple lines and different part numbers listed, but the same autofilled data for each part, despite the fact that each line contained different info.&lt;/p&gt;
&lt;p&gt;&amp;nbsp;I need the form to pull data for each line correctly so that when the user clicks the &amp;#39;Fill Data&amp;#39; button the correct data would fill for each lines&amp;#39; part number, not the same data for every line.&amp;nbsp; I know that I may need to use the current() function somehow, but my efforts in this regard have been futile.&amp;nbsp; One important thing to note is that the Fill Data button is not in the same group as the repeating table.&lt;/p&gt;
&lt;p&gt;Here is the XPath for the data query to get the Part Description, the other two queries are the same except for the end field (part description etc).&amp;nbsp; The query runs off of a rule that tells the form to query when the button is clicked and then set a fields value (ex:the &amp;#39;part description field) based upon the query result.&lt;/p&gt;
&lt;p&gt;xdXDocument:GetDOM(&amp;quot;Test 4k&amp;quot;)/dfs:myFields/dfs:dataFields/dfs:Test_4k/@PART_DESCRIPTION[../@PART_ = xdXDocument:get-DOM()/my:myFields/my:group3/my:group4/my:zeepartnum]&lt;/p&gt;
&lt;p&gt;Any help would be GREAT - I am pulling my hair out over this!&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Thanks,&lt;/p&gt;
&lt;p&gt;Matt&lt;/p&gt;&lt;/div&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;</description></item></channel></rss>