<?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: Autopopulate repeating table from sharepoint list based on 2 dropdowns and autonumber each row</title><link>https://www.infopathdev.com:443/forums/thread/59133.aspx</link><pubDate>Wed, 22 Sep 2010 07:20:22 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:59133</guid><dc:creator>Patrick Halstead</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/59133.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=59133</wfw:commentRss><description>&lt;p&gt;This is really easy to do.&lt;/p&gt;
&lt;p&gt;Add a data connection to the SharePoint list called Courses. Show the values for name and date in two dropdowns. Second dropdown is filtered&amp;nbsp;on first.. &lt;/p&gt;
&lt;p&gt;Add a rule to the second dropdown that queries a data connection to get the Attendee Names based on the first two values.&lt;/p&gt;
&lt;p&gt;If you add the SharePoint list IDs to&amp;nbsp;your data connection, you can populate the forms with this and use it to query Attendee Names based on course.&amp;nbsp;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;To autonumber rows in a form is pretty simple - just use the count() xpath function when a row gets added or, if you need a unique identifier you could look at a plugin like qRules that comes with a rule for automatically generating ids. &lt;/p&gt;
&lt;p&gt;To add 3 empty rows automatically, go to Tools-&amp;gt;Default Values and add them there.&lt;/p&gt;
&lt;p&gt;This stuff is what InfoPath is really good at.&lt;/p&gt;</description></item><item><title>Autopopulate repeating table from sharepoint list based on 2 dropdowns and autonumber each row</title><link>https://www.infopathdev.com:443/forums/thread/58896.aspx</link><pubDate>Mon, 13 Sep 2010 07:31:54 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:58896</guid><dc:creator>lverhelst</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/58896.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=58896</wfw:commentRss><description>&lt;p&gt;We have the following problem with an infopath form.&lt;/p&gt;
&lt;p&gt;Dataconnection: sharepoint list; Coursname, Course date, Name attendants&lt;/p&gt;
&lt;p&gt;Based on 2 dropdowns coursename and coursedate, the repeating table should show the attendants for this course. &lt;/p&gt;
&lt;p&gt;extra issues: we should autonumber each row and add 3 empty rows by default.&lt;/p&gt;
&lt;p&gt;is there somebody that can help?&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;</description></item></channel></rss>