<?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: Prepopulate a column in a repeating table with 50+ rows</title><link>https://www.infopathdev.com:443/forums/thread/108357.aspx</link><pubDate>Wed, 26 Oct 2016 21:21:33 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:108357</guid><dc:creator>mike_tower</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/108357.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=108357</wfw:commentRss><description>&lt;p&gt;&amp;nbsp;Thank you again! I got it working and everything is running smooth. I really appreciate all of your help!&lt;br /&gt;&lt;/p&gt;</description></item><item><title>Re: Prepopulate a column in a repeating table with 50+ rows</title><link>https://www.infopathdev.com:443/forums/thread/108328.aspx</link><pubDate>Tue, 25 Oct 2016 16:18:38 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:108328</guid><dc:creator>Hilary Stoupa</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/108328.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=108328</wfw:commentRss><description>&lt;p&gt;&amp;nbsp;It is fine to run the rule on a field instead of on form load.... I think the issue is with your filter. I think you need to have the filter first return all nodes that match your condition, then get the right index - so maybe something like this: &lt;/p&gt;&lt;p&gt;xdXDocument:GetDOM(&amp;quot;QUESTIONS&amp;quot;)/dfs:myFields/dfs:dataFields/d:SharePointListItem_RW&lt;u&gt;&lt;b&gt;[d:FORM = xdXDocument:get-DOM()/my:myFields/my:FORM and d:SECTION = &amp;quot;CS&amp;quot;&lt;/b&gt;&lt;/u&gt;][count(current()/../preceding-sibling::my:group2) + 1]/d:QUESTION_ID&amp;nbsp;&lt;/p&gt;</description></item><item><title>Re: Prepopulate a column in a repeating table with 50+ rows</title><link>https://www.infopathdev.com:443/forums/thread/108327.aspx</link><pubDate>Tue, 25 Oct 2016 15:56:13 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:108327</guid><dc:creator>mike_tower</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/108327.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=108327</wfw:commentRss><description>&lt;p&gt;You are a genius. I hope you&amp;#39;re getting paid for this! It works perfectly. I was able to manipulate your template to work with my data sources.&lt;/p&gt;&lt;p&gt;I do have a question about xPath I hope someone can help me with. What I&amp;#39;m trying to do is filter the results in the table based on a dropdown at the top of the form and another static text string.&lt;/p&gt;&lt;p&gt;Using this everything works fine if I want every row of my data displayed:&lt;br /&gt;xdXDocument:GetDOM(&amp;quot;QUESTIONS&amp;quot;)/dfs:myFields/dfs:dataFields/d:SharePointListItem_RW[count(current()/../preceding-sibling::my:group2) + 1]/d:QUESTION_ID&lt;/p&gt;&lt;p&gt;I&amp;#39;m trying to get this to work so I can filter my results: &lt;br /&gt;xdXDocument:GetDOM(&amp;quot;QUESTIONS&amp;quot;)/dfs:myFields/dfs:dataFields/d:SharePointListItem_RW[count(current()/../preceding-sibling::my:group2) + 1 &lt;u&gt;&lt;b&gt;and d:FORM = xdXDocument:get-DOM()/my:myFields/my:FORM and d:SECTION = &amp;quot;CS&amp;quot;&lt;/b&gt;&lt;/u&gt;]/d:QUESTION_ID&lt;/p&gt;&lt;p&gt;&amp;nbsp;When I use that xPath I am able to filter the data, but I&amp;#39;m only getting the first line. It won&amp;#39;t give me more than 1 row. What am I doing wrong?&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;P.S.&lt;/p&gt;&lt;p&gt;I should point out that I changed the rule to run on dropdown value change instead of on form load. &lt;br /&gt;&lt;/p&gt;</description></item><item><title>Re: Prepopulate a column in a repeating table with 50+ rows</title><link>https://www.infopathdev.com:443/forums/thread/108317.aspx</link><pubDate>Mon, 24 Oct 2016 23:03:38 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:108317</guid><dc:creator>Hilary Stoupa</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/108317.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=108317</wfw:commentRss><description>&lt;p&gt;&amp;nbsp;Hi - the only way I know of to do this without code is to use default data, like the post you mention, but I found the same issue in the browser if using default values for this. I changed to using rules instead and didn&amp;#39;t run into errors / limits - and this is with a test form published to Office 365. Save the attached sample locally, right click and select design. Rules are on form load and set node - I&amp;#39;m populating two fields with data from a secondary XML and then have a third field in the table just so you can see that if you select something and save the file &amp;amp; re-open it stays selected. The nice thing about this approach is in my form load rules, I&amp;#39;d only populate the data when a new form is opened, so I don&amp;#39;t update from the secondary data file when the form has been filled out by users already.&lt;/p&gt;</description></item><item><title>Prepopulate a column in a repeating table with 50+ rows</title><link>https://www.infopathdev.com:443/forums/thread/108310.aspx</link><pubDate>Mon, 24 Oct 2016 14:47:00 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:108310</guid><dc:creator>mike_tower</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/108310.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=108310</wfw:commentRss><description>&lt;p&gt;I spent two or three days researching all over the internet how to do this and I still haven&amp;#39;t figured it out. Let me try to explain what I have to work with.&lt;/p&gt;&lt;p&gt;I am trying to make a form that a user will fill out and will submit data to two of three tables. The tables are: REVIEWS, QUESTIONS, ANSWERS.&amp;nbsp; The general information for the form (e.g. date, username, category, etc.) will be submitted to the REVIEWS table with a unique REVIEW_ID. The responses to the questions (the majority of the data) will be submitted to the ANSWERS table and will all have the same REVIEW_ID. Instead of submitting this to the database directly I decided to save it all to an XML file. I&amp;#39;ll then have a separate program grab the data and split it into the two different tables. So far so good.&lt;/p&gt;&lt;p&gt;The questions asked in each review are dynamic. They will change over time and are specific to each review category. For each category there are 50+ questions. I need to pull the QUESTION_ID and QUESTION_TEXT into the form when a category is selected from a drop down. No problem. I can do that with a repeating section.&amp;nbsp;Here comes the problem. I then need a repeating table with the same number of lines as questions and each answer line needs to contain the corresponding QUESTION_ID. So, the data submitted to the ANSWERS database would be QUESTION_ID (to link the answer to the correct question), RESPONSE (multiple choice: Yes, No, N/A), and COMMENT (long text).&lt;/p&gt;&lt;p&gt;&amp;nbsp;I found this forum topic that worked perfectly for fewer than 16 lines: http://www.infopathdev.com/forums/p/29457/100844.aspx&lt;/p&gt;&lt;p&gt;The issues doing it that way were 1) I couldn&amp;#39;t use it for the 50+ questions and 2) it took a really long time to load for anything more than about 10 lines.&lt;/p&gt;&lt;p&gt;&amp;nbsp;Any ideas on how to do this? I just need to pull in 50+ lines from a secondary source and use the ID in each line in a repeating table for submission. I am doing this on a work computer meaning I do not have the ability to install plugins, extensions, etc. Also, I do not have Visual Studio to write code. Thanks in advance!&lt;br /&gt;&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;</description></item></channel></rss>