<?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: Create a Repeating Table based on whether another repeating table entry is not blank</title><link>https://www.infopathdev.com:443/forums/thread/39338.aspx</link><pubDate>Mon, 09 Mar 2009 15:23:37 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:39338</guid><dc:creator>drake</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/39338.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=43&amp;PostID=39338</wfw:commentRss><description>&lt;p&gt;&amp;nbsp;You ROCK!&amp;nbsp; Luckily I don&amp;#39;t have to worry about it anymore.&amp;nbsp; I found a work around.&lt;/p&gt;&lt;p&gt;Thanks!! &lt;br /&gt;&lt;/p&gt;</description></item><item><title>Re: Create a Repeating Table based on whether another repeating table entry is not blank</title><link>https://www.infopathdev.com:443/forums/thread/39285.aspx</link><pubDate>Fri, 06 Mar 2009 14:31:26 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:39285</guid><dc:creator>Jimmy</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/39285.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=43&amp;PostID=39285</wfw:commentRss><description>&lt;p&gt;Deleting rows is plenty easy in C#:&lt;/p&gt;&lt;font size="2"&gt;
&lt;p&gt;&lt;/font&gt;&lt;font color="#0000ff" size="2"&gt;&lt;font color="#0000ff" size="2"&gt;public&lt;/font&gt;&lt;/font&gt;&lt;font size="2"&gt; &lt;/font&gt;&lt;font color="#0000ff" size="2"&gt;&lt;font color="#0000ff" size="2"&gt;void&lt;/font&gt;&lt;/font&gt;&lt;font size="2"&gt; CTRL7_5_Clicked(&lt;/font&gt;&lt;font color="#0000ff" size="2"&gt;&lt;font color="#0000ff" size="2"&gt;object&lt;/font&gt;&lt;/font&gt;&lt;font size="2"&gt; sender, &lt;/font&gt;&lt;font color="#2b91af" size="2"&gt;&lt;font color="#2b91af" size="2"&gt;ClickedEventArgs&lt;/font&gt;&lt;/font&gt;&lt;font size="2"&gt; e)&lt;br /&gt;{&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; e.Source.DeleteSelf();&lt;br /&gt;}&lt;/font&gt;&lt;/p&gt;
&lt;p&gt;&lt;font size="2"&gt;Since you&amp;#39;re going for a browser-enabled form you can&amp;#39;t make use of the handy ExecuteAction function, so this is probably the easiest alternative way to add rows:&lt;/font&gt;&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;&lt;font size="2"&gt;Save your form template as its source files.&lt;/font&gt;&lt;/li&gt;
&lt;li&gt;&lt;font size="2"&gt;Open up the template.xml file in a text editor and copy the part that corresponds to the repeating group in your form into code so it looks something&amp;nbsp;like the following:&lt;/font&gt;&lt;/li&gt;&lt;/ol&gt;&lt;font size="2"&gt;
&lt;blockquote&gt;&lt;/font&gt;&lt;font color="#2b91af" size="2"&gt;&lt;font color="#2b91af" size="2"&gt;XPathNavigator&lt;/font&gt;&lt;/font&gt;&lt;font size="2"&gt; groupParent = MainDataSource.CreateNavigator().SelectSingleNode(&lt;/font&gt;&lt;font color="#a31515" size="2"&gt;&lt;font color="#a31515" size="2"&gt;&amp;quot;&lt;u&gt;/my:myFields/my:group1&lt;/u&gt;&amp;quot;&lt;/font&gt;&lt;/font&gt;&lt;font size="2"&gt;, NamespaceManager);&lt;br /&gt;groupParent.AppendChild(&lt;/font&gt;&lt;font color="#a31515" size="2"&gt;&lt;font color="#a31515" size="2"&gt;&amp;quot;&lt;u&gt;&amp;lt;my:group2&amp;gt;&amp;lt;my:field1&amp;gt;&amp;lt;/my:field1&amp;gt;&amp;lt;my:field2&amp;gt;&amp;lt;/my:field2&amp;gt;&amp;lt;my:field3&amp;gt;&amp;lt;/my:field3&amp;gt;&amp;lt;/my:group2&amp;gt;&lt;/u&gt;&amp;quot;&lt;/font&gt;&lt;/font&gt;&lt;font size="2"&gt;);&lt;/font&gt;&lt;/font&gt;&lt;font size="2"&gt;&lt;/blockquote&gt;
&lt;p&gt;&lt;/font&gt;&lt;font size="2"&gt;&amp;nbsp;The first underlined part is the path to the parent of the repeating group, and the second part is the copied XML (with spaces and newlines deleted).&lt;/font&gt;&lt;/p&gt;
&lt;p&gt;Note I would advise against taking this approach when you don&amp;#39;t need to, as using ExecuteAction or qRules is better overall when those options are available.&lt;/p&gt;</description></item><item><title>Re: Create a Repeating Table based on whether another repeating table entry is not blank</title><link>https://www.infopathdev.com:443/forums/thread/39280.aspx</link><pubDate>Fri, 06 Mar 2009 12:08:43 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:39280</guid><dc:creator>drake</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/39280.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=43&amp;PostID=39280</wfw:commentRss><description>//Add a row to the Device Add table.&lt;br /&gt;function Device_Add_Table::OnClick(eventObj)&lt;br /&gt;{&lt;br /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;XDocument.View.ExecuteAction(&amp;quot;xCollection::insert&amp;quot;, &amp;quot;DeviceAddTable_888&amp;quot;);&lt;br /&gt;}&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;//Delete a row in the Device Add table.&lt;br /&gt;function Del_Row::OnClick(eventObj)&lt;br /&gt;{&lt;br /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;var thisNode = eventObj.Source.selectSingleNode(&amp;quot;.&amp;quot;);&lt;br /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;thisNode.parentNode.removeChild(thisNode);&lt;br /&gt;}</description></item><item><title>Re: Create a Repeating Table based on whether another repeating table entry is not blank</title><link>https://www.infopathdev.com:443/forums/thread/39279.aspx</link><pubDate>Fri, 06 Mar 2009 12:03:40 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:39279</guid><dc:creator>Jimmy</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/39279.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=43&amp;PostID=39279</wfw:commentRss><description>&lt;p&gt;I really don&amp;#39;t think&amp;nbsp;it&amp;#39;s any more difficult to do those operations with C# as compared to JScript.&amp;nbsp; If you put your code up here I can show you the C# equivalent.&lt;/p&gt;</description></item><item><title>Re: Create a Repeating Table based on whether another repeating table entry is not blank</title><link>https://www.infopathdev.com:443/forums/thread/39278.aspx</link><pubDate>Fri, 06 Mar 2009 11:55:04 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:39278</guid><dc:creator>drake</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/39278.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=43&amp;PostID=39278</wfw:commentRss><description>&lt;p&gt;I saw once I stripped the jscript code and changed the compatibility, that C# and VB were options, but if I select either it tells me that programming can&amp;#39;t be used.&amp;nbsp; Unfortunetly I have no control over the IPFS, but I sent off an email to the admins and hopefully they can help me.&lt;/p&gt;&lt;p&gt;I&amp;#39;m just using &amp;quot;Add&amp;quot; and &amp;quot;Delete&amp;quot; buttons with code so far to add repeating rows and repeating sections.&amp;nbsp; It looks to be a huge pain in the butt to do the same thing with C# then it is with jscript. &lt;br /&gt;&lt;/p&gt;</description></item><item><title>Re: Create a Repeating Table based on whether another repeating table entry is not blank</title><link>https://www.infopathdev.com:443/forums/thread/39277.aspx</link><pubDate>Fri, 06 Mar 2009 11:48:21 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:39277</guid><dc:creator>Jimmy</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/39277.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=43&amp;PostID=39277</wfw:commentRss><description>&lt;p&gt;Forms with code can be used with IPFS, but I believe the code has to be C# or VB (and both in the 2007 object model), and publishing with code requires administrator approval.&lt;/p&gt;
&lt;p&gt;&amp;nbsp;What kind of stuff is the code in your form doing?&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;</description></item><item><title>Re: Create a Repeating Table based on whether another repeating table entry is not blank</title><link>https://www.infopathdev.com:443/forums/thread/39276.aspx</link><pubDate>Fri, 06 Mar 2009 11:38:21 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:39276</guid><dc:creator>drake</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/39276.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=43&amp;PostID=39276</wfw:commentRss><description>&lt;p&gt;&amp;nbsp;I think I solved this by using a repeating section.&amp;nbsp; It&amp;#39;s kind of a ghetto fix, but it works.&lt;/p&gt;&lt;p&gt;I created a &amp;quot;Hardware Support&amp;quot; section with a button to &amp;quot;Add Hardware Support&amp;quot;.&amp;nbsp; When clicked, it creates a repeating section with a drop down list within the &amp;quot;Hardware Support&amp;quot; root section.&amp;nbsp; The drop down is then populated with the Device Names from the &amp;quot;Device Add&amp;quot; section above.&amp;nbsp; I used conditional formatting so when the drop down is not blank, the repeating section is visible.&amp;nbsp; Hooray!&lt;br /&gt;&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;But then I found out yesterday the InfoPath Forms Services doesn&amp;#39;t support jscript (or isn&amp;#39;t configured to), super.&amp;nbsp; Then I found out it doesn&amp;#39;t support any form of programming, even more super...&amp;nbsp; And of course I&amp;#39;ve been using InfoPath 2007, which was a mistake as everyone here has 2003.&amp;nbsp; I turned on compatibility and it tells me what isn&amp;#39;t supported, but I can&amp;#39;t find out where the items are in my form to get rid of them!&amp;nbsp; ARGH!&amp;nbsp; And to add insult to injury, I can&amp;#39;t open the form in 2003 as it says it was made with a newer version.&lt;br /&gt;&lt;/p&gt;&lt;p&gt;But anyways, thanks for the help!&amp;nbsp; It helped me find my solution. &lt;br /&gt;&lt;/p&gt;</description></item><item><title>Re: Create a Repeating Table based on whether another repeating table entry is not blank</title><link>https://www.infopathdev.com:443/forums/thread/39248.aspx</link><pubDate>Fri, 06 Mar 2009 02:38:52 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:39248</guid><dc:creator>Hilary Stoupa</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/39248.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=43&amp;PostID=39248</wfw:commentRss><description>&lt;p&gt;Here you have hit a wall with what comes out of the box with out of the box InfoPath functionality -- you won&amp;#39;t know how many you need of the repeating group you&amp;#39;d be copying the &amp;#39;Device Name&amp;#39; into until the user is done adding the devices, right?&lt;/p&gt;
&lt;p&gt;I still think that schema-wise, though, I&amp;#39;d only have one group for device. That device group would have fields like device name, etc, and another group inside it for Vendor information, and other groups as needed for additional device related information. I&amp;#39;d connect all my repeating sections / tables to my device group, and simply add and remove fields and columns until it looked the way I needed it to. Does that make sense? Then you can use conditional formatting to show or hide rows in the table or section as needed -- along the lines of &amp;#39;if the device is not hardware, hide this row&amp;#39;. &lt;/p&gt;</description></item><item><title>Re: Create a Repeating Table based on whether another repeating table entry is not blank</title><link>https://www.infopathdev.com:443/forums/thread/39172.aspx</link><pubDate>Wed, 04 Mar 2009 15:58:26 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:39172</guid><dc:creator>drake</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/39172.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=43&amp;PostID=39172</wfw:commentRss><description>&lt;p&gt;&amp;nbsp;I think my biggest problem is not being able to make anything unique.&amp;nbsp; It only seems to pull the first item or the last item in the Device Name field if I use conditional formatting.&amp;nbsp; &lt;/p&gt;&lt;p&gt;Now another problem I&amp;#39;m running across is having to ask questions in response to other questions.&amp;nbsp; Like the Vendor support, if they answer Yes, I now need to ask about contract numbers and some other things.&amp;nbsp; If they answer No, well now I need to know who the vendor is and ask other support questions.&lt;/p&gt;&lt;p&gt;So thinking about another solution, is it possible that &lt;i&gt;for each device name entered&lt;/i&gt;, a new section could be created with the Device Name as a title and then I could use more static ways of asking the other questions.&lt;br /&gt;&lt;/p&gt;</description></item><item><title>Re: Create a Repeating Table based on whether another repeating table entry is not blank</title><link>https://www.infopathdev.com:443/forums/thread/39169.aspx</link><pubDate>Wed, 04 Mar 2009 14:54:35 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:39169</guid><dc:creator>drake</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/39169.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=43&amp;PostID=39169</wfw:commentRss><description>&lt;p&gt;Actually, I&amp;#39;m having the same problem I did before.&amp;nbsp; In your form, I can add as many rows as I want without the conditional fields hiding again.&amp;nbsp; When I try it on my form, anytime someone adds an additional device, the hardware information goes back into hiding until someone enters in the device name again on the new row.&lt;/p&gt;&lt;p&gt;Does that mean I have to have my hardware support information in the same table as the device addition?&lt;/p&gt;&lt;p&gt;What I want to do, is each time someone enters in a device name in the Device Adds area, that device name is then &amp;quot;transferred&amp;quot; (copied) into a new table/section/drop-down/whatever.&amp;nbsp; But I can&amp;#39;t figure out how to do it for *each* device added. &lt;/p&gt;&lt;p&gt;&amp;nbsp;Here&amp;#39;s a screen shot, hope this helps explain it better then I can.&lt;/p&gt;&lt;p&gt;&lt;img src="http://dracon32.net/defcon/example.JPG" width="1007" height="527" alt="" /&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;&lt;img alt="" /&gt; &lt;img alt="" /&gt;&lt;/p&gt;</description></item><item><title>Re: Create a Repeating Table based on whether another repeating table entry is not blank</title><link>https://www.infopathdev.com:443/forums/thread/39168.aspx</link><pubDate>Wed, 04 Mar 2009 14:40:59 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:39168</guid><dc:creator>drake</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/39168.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=43&amp;PostID=39168</wfw:commentRss><description>&lt;p&gt;That way would work, but I need the data to be moved into another area. But I think you solved my problem!&lt;br /&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;Thanks a ton!!&lt;br /&gt;&lt;/p&gt;</description></item><item><title>Re: Create a Repeating Table based on whether another repeating table entry is not blank</title><link>https://www.infopathdev.com:443/forums/thread/39097.aspx</link><pubDate>Tue, 03 Mar 2009 04:54:24 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:39097</guid><dc:creator>Hilary Stoupa</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/39097.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=43&amp;PostID=39097</wfw:commentRss><description>&lt;p&gt;Hi -- I hope I&amp;#39;m not oversimplifying, but can&amp;#39;t you just use conditional formatting? I&amp;#39;ve attached an IP2007 sample....&lt;/p&gt;</description></item><item><title>Re: Create a Repeating Table based on whether another repeating table entry is not blank</title><link>https://www.infopathdev.com:443/forums/thread/39075.aspx</link><pubDate>Mon, 02 Mar 2009 17:31:21 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:39075</guid><dc:creator>drake</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/39075.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=43&amp;PostID=39075</wfw:commentRss><description>&lt;p&gt;There are a few different routes I&amp;#39;m thinking about now. &lt;br /&gt;&lt;br /&gt;So in the device add column, if someone enters something in, I want a new table (or section) to become visible and allow them to enter in hardware support information.&amp;nbsp; Which I can get to work for only one row.&amp;nbsp; If someone adds a new row for an additional device, then my hardware support information disappears because now there is a device name field that is now blank.&amp;nbsp; So until someone enters in the device name for the second device the hardware support stays hidden.&lt;br /&gt;&lt;br /&gt;What I was thinking of now, is if device name is not blank then, create a new section with the pre-populated deivce name as a header.&amp;nbsp; But I just have no idea where to even start on something like that.&amp;nbsp; I&amp;#39;ve spent another 3-4 hours googling today, but still no matches (or anything I could understand).&lt;br /&gt;&lt;br /&gt;Oh, I am using jscript for the programming now, since I was able to find other tasks with working .js versions opposted to c#.&lt;br /&gt;&lt;br /&gt;&lt;/p&gt;</description></item><item><title>Re: Create a Repeating Table based on whether another repeating table entry is not blank</title><link>https://www.infopathdev.com:443/forums/thread/39073.aspx</link><pubDate>Mon, 02 Mar 2009 17:07:00 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:39073</guid><dc:creator>Alec Pojidaev</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/39073.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=43&amp;PostID=39073</wfw:commentRss><description>&lt;p&gt;It&amp;#39;s definatly posible by codding it in C#.&lt;/p&gt;
&lt;p&gt;In case if you looking for codeless solution: If under &amp;quot;generate a new table&amp;quot; you mean &amp;quot;make the other part of my repeating structure visible&amp;quot; then yes, it&amp;#39;s posible .&lt;/p&gt;
&lt;p&gt;.&lt;/p&gt;</description></item><item><title>[Solved] Create a Repeating Table based on whether another repeating table entry is not blank</title><link>https://www.infopathdev.com:443/forums/thread/39019.aspx</link><pubDate>Fri, 27 Feb 2009 17:47:14 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:39019</guid><dc:creator>drake</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/39019.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=43&amp;PostID=39019</wfw:commentRss><description>&lt;p&gt;I had a hard time searching for this one.&lt;/p&gt;&lt;p&gt;Some quick background, I have a device and applications changes section in a form for project support transition.&amp;nbsp; In it is a &lt;b&gt;repeating table&lt;/b&gt; for device additions.&amp;nbsp; One of the fields is Device Name.&amp;nbsp; &lt;/p&gt;&lt;p&gt;What I want to do is when the Device Name field &lt;i&gt;is not blank&lt;/i&gt; (someone put in a device name), it pops up a new table asking for additional information in regards to the support of the hardware (vendor, contracts, etc.).&amp;nbsp; That sounds easy and all, but I need it &lt;i&gt;for each device name entered for each row in the repeating table.&lt;/i&gt;&amp;nbsp; &lt;/p&gt;&lt;p&gt;Is there a way to generate a new table based on a field of a repeating table for each row created by the user?&amp;nbsp; Is this even possible? &lt;br /&gt;&lt;/p&gt;</description></item></channel></rss>