<?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>Controls</title><link>https://www.infopathdev.com:443/forums/43.aspx</link><description> </description><dc:language>en</dc:language><generator>CommunityServer 2007 SP3 (Build: 31118.962)</generator><item><title>Re: EDIT: Limiting the amount of rows and automatically populating fields...</title><link>https://www.infopathdev.com:443/forums/thread/34785.aspx</link><pubDate>Mon, 24 Nov 2008 09:29:12 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:34785</guid><dc:creator>pablavo</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/34785.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=43&amp;PostID=34785</wfw:commentRss><description>&lt;p&gt;Hi Frederik, Thanks for getting back to me.&lt;/p&gt;
&lt;p&gt;&amp;nbsp;I looked at your technique, which will help to some extent, however, the problem is that the MilestoneNameIDs can change depending on the project drop down list. There are 4 projects and each one has its own set of MilestoneNameIDs. If I pick Project1, for example, the ID&amp;#39;s that populate the 7 rows (or nodes) will be different if I picked project2.&lt;/p&gt;
&lt;p&gt;&amp;nbsp;You wouldn&amp;#39;t know how I could get round this? I think this might involve Xpath, however, I haven&amp;#39;t really looked into Xpath yet and hope there&amp;#39;s a work around.&lt;/p&gt;
&lt;p&gt;&amp;nbsp;Hope you can help a little more.&lt;/p&gt;
&lt;p&gt;Thanks&lt;/p&gt;</description></item><item><title>Re: EDIT: Limiting the amount of rows and automatically populating fields...</title><link>https://www.infopathdev.com:443/forums/thread/34682.aspx</link><pubDate>Fri, 21 Nov 2008 13:15:54 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:34682</guid><dc:creator>Frederik Van Lierde</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/34682.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=43&amp;PostID=34682</wfw:commentRss><description>&lt;p&gt;To reach this, you need to do the following&lt;/p&gt;
&lt;p&gt;- Go to Menu Tools&lt;br /&gt;- Select Default Values&lt;br /&gt;- Select the repeating Node&lt;br /&gt;- Right Click and add another xxx below, do this 7x&lt;/p&gt;
&lt;p&gt;Then in each newly created node, you select the MilstoneNameId and set the Default Value.&lt;br /&gt;&lt;br /&gt;When testing the form, you will get the 7 rows populated with the default values&lt;/p&gt;
&lt;p&gt;Frederik Van Lierde&lt;/p&gt;</description></item><item><title>EDIT: Limiting the amount of rows and automatically populating fields...</title><link>https://www.infopathdev.com:443/forums/thread/33893.aspx</link><pubDate>Wed, 05 Nov 2008 08:37:09 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:33893</guid><dc:creator>pablavo</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/33893.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=43&amp;PostID=33893</wfw:commentRss><description>&lt;p&gt;I think there&amp;#39;s a better way for me to explain this.&lt;/p&gt;
&lt;p&gt;I managed to change the&amp;nbsp;MySchema.xdn file so the form would show 7&amp;nbsp;rows but when I try a rule to populate a field if the&amp;nbsp;drop down is a certain value, all rows are populated with the same value and I&amp;#39;m still unsure how to populate each row with a specific value. (&lt;strong&gt;see explanation below&lt;/strong&gt;)&lt;/p&gt;
&lt;p&gt;********************&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;strong&gt;tblProject&lt;/strong&gt; has a one to many relationship with &lt;strong&gt;tblMilestone&lt;/strong&gt; (4 projects each with 7 milestones. Projects1&amp;#39;s first milestone name is different from Project2&amp;#39;s)&lt;/p&gt;
&lt;p&gt;tblMilestone has these fields:&lt;br /&gt;&lt;strong&gt;MilestoneID&lt;/strong&gt;(PrimaryKey), &lt;strong&gt;ProjectID&lt;/strong&gt;(ForeignKey), &lt;strong&gt;MilestoneNameID&lt;/strong&gt;(This is from a lookup table that has all milestone names. The MIlestoneNameID references this table) and &lt;strong&gt;6 other fields&lt;/strong&gt; date, comment etc.&lt;/p&gt;
&lt;p&gt;&amp;nbsp;I&amp;#39;m still unsure about how to populate the 7 rows MilestoneNameID so the user doesn&amp;#39;t have to. So, if all 7 rows were already on the form. I&amp;#39;d like for a user to use a drop down list to pick a project and the milestones names that related to that project would automatically populate each row in order (milestone1-row1 etc)&lt;/p&gt;
&lt;p&gt;&amp;nbsp;Do you know if there&amp;#39;s a way to do this.&lt;/p&gt;
&lt;p&gt;&amp;nbsp;Again, thanks for all your help.&lt;/p&gt;</description></item><item><title>Re: Limiting the amount of rows and automatically populating fields...</title><link>https://www.infopathdev.com:443/forums/thread/33883.aspx</link><pubDate>Wed, 05 Nov 2008 04:35:49 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:33883</guid><dc:creator>Anuma</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/33883.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=43&amp;PostID=33883</wfw:commentRss><description>&lt;p class="MsoNormal" style="MARGIN:0in 0in 0pt;"&gt;&lt;font face="Times New Roman" size="3"&gt;Hi,&lt;/font&gt;&lt;/p&gt;
&lt;p class="MsoNormal" style="MARGIN:0in 0in 0pt;"&gt;&amp;nbsp;&lt;/p&gt;
&lt;p class="MsoNormal" style="MARGIN:0in 0in 0pt;"&gt;&lt;font face="Times New Roman" size="3"&gt;To display the 7 rows by default for a repeating table, please follow the below steps:&lt;/font&gt;&lt;/p&gt;
&lt;ol style="MARGIN-TOP:0in;"&gt;
&lt;li class="MsoNormal" style="MARGIN:0in 0in 0pt;mso-list:l0 level1 lfo1;tab-stops:list .5in;"&gt;&lt;font face="Times New Roman" size="3"&gt;Open “mySchem.xsd” file in visual studia.&lt;/font&gt;&lt;/li&gt;
&lt;li class="MsoNormal" style="MARGIN:0in 0in 0pt;mso-list:l0 level1 lfo1;tab-stops:list .5in;"&gt;&lt;font face="Times New Roman" size="3"&gt;Search for your Repeating group element.&lt;/font&gt;&lt;/li&gt;
&lt;li class="MsoNormal" style="MARGIN:0in 0in 0pt;mso-list:l0 level1 lfo1;tab-stops:list .5in;"&gt;&lt;font face="Times New Roman" size="3"&gt;Change &lt;/font&gt;&lt;span style="FONT-SIZE:10pt;COLOR:red;FONT-FAMILY:&amp;#39;Courier New&amp;#39;;mso-no-proof:yes;"&gt;minOccurs &lt;/span&gt;&lt;font face="Times New Roman" size="3"&gt;and Max occurs &lt;/font&gt;&lt;span style="FONT-SIZE:10pt;COLOR:red;FONT-FAMILY:&amp;#39;Courier New&amp;#39;;mso-no-proof:yes;"&gt;maxOccurs &lt;/span&gt;&lt;span style="FONT-SIZE:10pt;FONT-FAMILY:Verdana;mso-no-proof:yes;mso-bidi-font-family:&amp;#39;Courier New&amp;#39;;"&gt;value&lt;/span&gt;&lt;span style="FONT-SIZE:10pt;COLOR:red;FONT-FAMILY:&amp;#39;Courier New&amp;#39;;mso-no-proof:yes;"&gt; &lt;/span&gt;&lt;span style="FONT-SIZE:10pt;FONT-FAMILY:Verdana;mso-no-proof:yes;mso-bidi-font-family:&amp;#39;Courier New&amp;#39;;"&gt;to 7&lt;/span&gt;&lt;/li&gt;
&lt;li class="MsoNormal" style="MARGIN:0in 0in 0pt;mso-list:l0 level1 lfo1;tab-stops:list .5in;"&gt;&lt;span style="FONT-SIZE:10pt;FONT-FAMILY:Verdana;mso-no-proof:yes;mso-bidi-font-family:&amp;#39;Courier New&amp;#39;;"&gt;Save and close the &lt;/span&gt;&lt;font face="Times New Roman" size="3"&gt;“mySchem.xsd” file.&lt;/font&gt;&lt;/li&gt;
&lt;li class="MsoNormal" style="MARGIN:0in 0in 0pt;mso-list:l0 level1 lfo1;tab-stops:list .5in;"&gt;&lt;font face="Times New Roman" size="3"&gt;Now verify the form in preview mode. Bydefault 7 rows will be displayed and we can’t able to select more than 7 rows for a table.&lt;/font&gt;&lt;/li&gt;&lt;/ol&gt;&lt;font face="Times New Roman" size="3"&gt;&amp;nbsp;Where do you want to show the milestone name as &amp;quot;&lt;font face="Arial" size="2"&gt;Project 1&amp;#39;s first Milestone&amp;quot;? Is this displayed in the field or a label?&lt;/font&gt;&lt;/font&gt;</description></item><item><title>Limiting the amount of rows and automatically populating fields...</title><link>https://www.infopathdev.com:443/forums/thread/33878.aspx</link><pubDate>Tue, 04 Nov 2008 21:30:54 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:33878</guid><dc:creator>pablavo</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/33878.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=43&amp;PostID=33878</wfw:commentRss><description>&lt;p&gt;&amp;nbsp;Hi folks, I hope can explain this well enough.&lt;/p&gt;&lt;p&gt;&amp;nbsp;The backend of the InfoPath forms I want to design is SQL Server.&amp;nbsp; There is specifically two tables, one called Projects and one called Milestones. Each Project can have 7 Milestones, each Milestone (steps) have 7 fields (Date1, Date2, Comment1 etc).&lt;/p&gt;&lt;p&gt;The Project table is the parent table to Milestones as there can be 7 to each project.&amp;nbsp; On my InfoPath form I want to know if it&amp;#39;s possible to have the 7 rows of fields on the form and no more? This is so the rows of fields are already layed out?&amp;nbsp;&lt;/p&gt;&lt;p&gt;Each projects milestones are named differently (Project 1&amp;#39;s first Milestone has a different name from Project 2&amp;#39;s first milestone). For this reason, I&amp;#39;d like to know if there is a way to automatically populate the 7 rows with the correct name depending on which project is selected?&amp;nbsp;&amp;nbsp;&lt;/p&gt;&lt;p&gt;Hope that makes sense? I don&amp;#39;t want users to be able to select more than 7 milestones but I want each row that makes up a milestone to be already populated with the milestone name (in the MilestoneName field)&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;I&amp;#39;d be grateful if someone could help me with this. If you need more info, please let me know.&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;Thanks &lt;br /&gt;&lt;/p&gt;</description></item></channel></rss>