<?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: Check boxes in a repeating table</title><link>https://www.infopathdev.com:443/forums/thread/31140.aspx</link><pubDate>Fri, 01 Aug 2008 22:23:51 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:31140</guid><dc:creator>mjaneczk</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/31140.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=39&amp;PostID=31140</wfw:commentRss><description>&lt;p&gt;I was just poking around with what you said, and soemthing weird happened.&amp;nbsp; It works but is weird.&amp;nbsp; &lt;/p&gt;
&lt;p&gt;I right click and the Value is FALSE&amp;quot; when cleared, and &amp;quot;TRUE&amp;quot; when checked (all caps).&amp;nbsp;&amp;nbsp; In my rule, I set the value to &amp;quot;true&amp;quot; (all lower) when checked, and it does what I want.&amp;nbsp; Weird, but oh well it works!&amp;nbsp; Thanks again!&lt;/p&gt;</description></item><item><title>Re: Check boxes in a repeating table</title><link>https://www.infopathdev.com:443/forums/thread/31139.aspx</link><pubDate>Fri, 01 Aug 2008 22:13:35 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:31139</guid><dc:creator>Hilary Stoupa</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/31139.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=39&amp;PostID=31139</wfw:commentRss><description>&lt;p&gt;When I was trying this earlier, my problem was I was setting the field to true (lower case t). If you right clidk on your checkbox and look at the value when checked, your rule that is setting the field&amp;#39;s value needs to match that value exactly. To help troubleshoot, temporarily change your checkbox to a text field so you can see what is being set.&lt;br /&gt;&lt;/p&gt;</description></item><item><title>Re: Check boxes in a repeating table</title><link>https://www.infopathdev.com:443/forums/thread/31137.aspx</link><pubDate>Fri, 01 Aug 2008 21:14:29 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:31137</guid><dc:creator>mjaneczk</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/31137.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=39&amp;PostID=31137</wfw:commentRss><description>&lt;p&gt;I did write a rule for the select all, but when it executes, it doesn&amp;#39;t put the checkmark in the box.&amp;nbsp; Is there some way I am supposed to refresh the form afterwards? &lt;/p&gt;</description></item><item><title>Re: Check boxes in a repeating table</title><link>https://www.infopathdev.com:443/forums/thread/31136.aspx</link><pubDate>Fri, 01 Aug 2008 20:04:44 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:31136</guid><dc:creator>mjaneczk</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/31136.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=39&amp;PostID=31136</wfw:commentRss><description>&lt;p&gt;I&amp;#39;m not worthy! I&amp;#39;m not worthy!&amp;nbsp; I would have never of saw that.&amp;nbsp; Thanks a million!&lt;/p&gt;
&lt;p&gt;For poseterity sake, I will post the code in full.&amp;nbsp; BTW&amp;lt; I did change the data source name in an attempt to see if there was somethign wrong with that.&amp;nbsp; But it works now!&lt;/p&gt;&lt;font size="2"&gt;
&lt;p&gt;&lt;/font&gt;&lt;font color="#008080" size="2"&gt;IXMLDOMDocument2&lt;/font&gt;&lt;font size="2"&gt; oSecondDoc = thisXDocument.GetDOM(&lt;/font&gt;&lt;font color="#800000" size="2"&gt;&amp;quot;PF&amp;quot;&lt;/font&gt;&lt;font size="2"&gt;) &lt;/font&gt;&lt;font color="#0000ff" size="2"&gt;as&lt;/font&gt;&lt;font size="2"&gt; &lt;/font&gt;&lt;font color="#008080" size="2"&gt;IXMLDOMDocument2&lt;/font&gt;&lt;font size="2"&gt;;&lt;/font&gt;&lt;/p&gt;
&lt;p&gt;&lt;font size="2"&gt;oSecondDoc.setProperty(&lt;/font&gt;&lt;font color="#800000" size="2"&gt;&amp;quot;SelectionNamespaces&amp;quot;&lt;/font&gt;&lt;font size="2"&gt;,&lt;/font&gt;&lt;font color="#800000" size="2"&gt;&amp;quot;xmlns:dfs=&amp;#39;http://schemas.microsoft.com/office/infopath/2003/dataFormSolution&amp;#39;&amp;quot;&lt;/font&gt;&lt;font size="2"&gt;);&lt;/font&gt;&lt;/p&gt;&lt;font size="2"&gt;&lt;/font&gt;&lt;font color="#008080" size="2"&gt;IXMLDOMNodeList&lt;/font&gt;&lt;font size="2"&gt; nodes = oSecondDoc.selectNodes(&lt;/font&gt;&lt;font color="#800000" size="2"&gt;&amp;quot;/dfs:myFields/dfs:dataFields/dfs:PF&amp;quot;&lt;/font&gt;&lt;font size="2"&gt;);&lt;/font&gt;&lt;/font&gt;&lt;font size="2"&gt; &lt;/font&gt;&lt;font size="2"&gt;
&lt;p&gt;thisXDocument.UI.Alert(nodes.length.ToString());&lt;/p&gt;&lt;/font&gt;&lt;font color="#0000ff" size="2"&gt;foreach&lt;/font&gt;&lt;font size="2"&gt; (&lt;/font&gt;&lt;font color="#008080" size="2"&gt;IXMLDOMNode&lt;/font&gt;&lt;font size="2"&gt; node &lt;/font&gt;&lt;font color="#0000ff" size="2"&gt;in&lt;/font&gt;&lt;font size="2"&gt; nodes)&lt;/font&gt;&lt;/font&gt;&lt;font size="2"&gt; 
&lt;p&gt;{&lt;/p&gt;
&lt;p&gt;thisXDocument.UI.Alert(node.text);&lt;/p&gt;
&lt;p&gt;}&lt;/p&gt;&lt;/font&gt;</description></item><item><title>Re: Check boxes in a repeating table</title><link>https://www.infopathdev.com:443/forums/thread/31135.aspx</link><pubDate>Fri, 01 Aug 2008 20:00:43 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:31135</guid><dc:creator>Hilary Stoupa</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/31135.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=39&amp;PostID=31135</wfw:commentRss><description>&lt;p&gt;You have a typo:&lt;/p&gt;
&lt;blockquote&gt;
&lt;p&gt;&lt;font color="#800000"&gt;xmlns:dfs=&amp;#39; http://schemas.microsoft.com/office/infopath/2003/dataFormSolution&amp;#39;&lt;/font&gt;&lt;/p&gt;&lt;/blockquote&gt;
&lt;p&gt;Has a space between the single quote and the h in &amp;quot;http&amp;quot; -- see it? Kill the space and try again.&lt;/p&gt;</description></item><item><title>Re: Check boxes in a repeating table</title><link>https://www.infopathdev.com:443/forums/thread/31134.aspx</link><pubDate>Fri, 01 Aug 2008 19:38:17 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:31134</guid><dc:creator>mjaneczk</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/31134.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=39&amp;PostID=31134</wfw:commentRss><description>&lt;p&gt;Adding a rule would work for select all, but there is another thing I need to do which would use the same code.&amp;nbsp; I was going to Add yet another button which would loop through all the rows and submit them to a list depending on a column value.&amp;nbsp; Can I do that in a rule?&amp;nbsp; &lt;/p&gt;
&lt;p&gt;So this logic would fit two purposes in two separate places.&amp;nbsp; &lt;/p&gt;</description></item><item><title>Re: Check boxes in a repeating table</title><link>https://www.infopathdev.com:443/forums/thread/31133.aspx</link><pubDate>Fri, 01 Aug 2008 19:26:01 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:31133</guid><dc:creator>Hilary Stoupa</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/31133.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=39&amp;PostID=31133</wfw:commentRss><description>&lt;p&gt;So, off the subject of code entirely -- if all you need to do is set all those check boxes to true, you can do that with a rule. On your button, add a rule. Select Set a field&amp;#39;s value, put in the field related to the checkbox in your select column and put in True for the value. If that doesn&amp;#39;t work, right click your check box, look at the properties, and see what the values are (if it is a lower case &amp;quot;t&amp;quot; in true, for example, or if the word is all upper case).&lt;/p&gt;
&lt;p&gt;As far as why you are returning no data -- generally for me, it is because my XPath is wrong, my Data Connection name is wrong, or my namespace is wrong.... I wish I could help you pinpoint it a bit better than that....&lt;/p&gt;</description></item><item><title>Re: Check boxes in a repeating table</title><link>https://www.infopathdev.com:443/forums/thread/31132.aspx</link><pubDate>Fri, 01 Aug 2008 18:28:38 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:31132</guid><dc:creator>mjaneczk</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/31132.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=39&amp;PostID=31132</wfw:commentRss><description>&lt;p&gt;I really appreciate your help!&amp;nbsp; &lt;/p&gt;
&lt;p&gt;I put in the secondary data connection name and it is retruning no data.&amp;nbsp; I have data in the form&amp;#39;s corresponding repeating table, but when I loop through the nodes, I get nothing.&amp;nbsp; I but in an Alert to show the length and it is 0.&amp;nbsp; Do I need to bind this to the external Data Source?&amp;nbsp; &lt;/p&gt;
&lt;p&gt;Maybe this will help, below is a screen shot of my form.&amp;nbsp; The data is read from a SharePoint Library, hence a secondary data source.&amp;nbsp; So there is data there.&amp;nbsp; When I click Select all which runs the code above with all your corrections included, the number of nodes is 0.&amp;nbsp; &lt;/p&gt;
&lt;p&gt;&lt;font size="2"&gt;&amp;nbsp;&lt;/p&gt;&lt;/font&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;img style="WIDTH:1024px;HEIGHT:452px;" height="452" src="http://i522.photobucket.com/albums/w343/mikej_035/Form.jpg" width="1024" alt="" /&gt;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;</description></item><item><title>Re: Check boxes in a repeating table</title><link>https://www.infopathdev.com:443/forums/thread/31131.aspx</link><pubDate>Fri, 01 Aug 2008 18:10:38 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:31131</guid><dc:creator>Hilary Stoupa</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/31131.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=39&amp;PostID=31131</wfw:commentRss><description>&lt;p&gt;Ah ha! Okay, first off, copying XPath from the data source task pane is exactly the right way to go -- because that way you don&amp;#39;t have to worry about mistakes. That isn&amp;#39;t availble in IP2003 and I wasn&amp;#39;t sure which version you were using.&lt;/p&gt;
&lt;p&gt;However, you are accessing the main DOM of your document. You need to access your secondary data connection. This:&lt;/p&gt;
&lt;blockquote&gt;
&lt;p&gt;&lt;font color="#008080"&gt;IXMLDOMDocument2&lt;/font&gt;&lt;font size="2"&gt; oSecondDoc = thisXDocument.DOM &lt;/font&gt;&lt;font color="#0000ff" size="2"&gt;as&lt;/font&gt;&lt;font size="2"&gt; &lt;/font&gt;&lt;font color="#008080" size="2"&gt;IXMLDOMDocument2&lt;/font&gt;&lt;font size="2"&gt;;&lt;/font&gt;&lt;/p&gt;&lt;/blockquote&gt;
&lt;p&gt;should be:&lt;/p&gt;
&lt;blockquote&gt;
&lt;p&gt;&lt;font color="#008080"&gt;IXMLDOMDocument2&lt;/font&gt;&lt;font size="2"&gt; oSecondDoc = thisXDocument.GetDOM(&lt;font color="#800000"&gt;&amp;quot;SecondaryDataConnectionName&amp;quot;&lt;/font&gt;) &lt;/font&gt;&lt;font color="#0000ff" size="2"&gt;as&lt;/font&gt;&lt;font size="2"&gt; &lt;/font&gt;&lt;font color="#008080" size="2"&gt;IXMLDOMDocument2&lt;/font&gt;&lt;font size="2"&gt;;&lt;/font&gt;&lt;/p&gt;&lt;/blockquote&gt;
&lt;p&gt;The secondary data connection name is passed into GetDOM.&lt;/p&gt;</description></item><item><title>Re: Check boxes in a repeating table</title><link>https://www.infopathdev.com:443/forums/thread/31127.aspx</link><pubDate>Fri, 01 Aug 2008 17:11:15 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:31127</guid><dc:creator>mjaneczk</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/31127.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=39&amp;PostID=31127</wfw:commentRss><description>&lt;p&gt;In design mode of InfoPath, I right clicked the portion of the&amp;nbsp;data source I wanted and selected &amp;quot;Copy XPath&amp;quot;.&amp;nbsp; Then pasted it into the code.&amp;nbsp;&amp;nbsp; Are there problems with doing it that way? This data source is a Secondary Data Source.&amp;nbsp; &lt;/p&gt;
&lt;p&gt;&amp;nbsp;My Data Source window looks like:&lt;/p&gt;
&lt;p&gt;&lt;font face="courier new,courier"&gt;My Fields&lt;/font&gt;&lt;/p&gt;
&lt;blockquote&gt;
&lt;p&gt;&lt;font face="courier new,courier"&gt;dataFields&lt;/font&gt;&lt;/p&gt;
&lt;blockquote&gt;
&lt;p&gt;&lt;font face="courier new,courier"&gt;Provisioning_Forms&lt;/font&gt;&lt;/p&gt;
&lt;blockquote&gt;
&lt;p&gt;&lt;font face="courier new,courier"&gt;Requestor&lt;/font&gt;&lt;/p&gt;
&lt;p&gt;&lt;font face="courier new,courier"&gt;Approver&lt;/font&gt;&lt;/p&gt;
&lt;p&gt;&lt;font face="courier new,courier"&gt;Dept_Code&lt;/font&gt;&lt;/p&gt;
&lt;p&gt;Disposition&lt;/p&gt;&lt;/blockquote&gt;&lt;/blockquote&gt;&lt;/blockquote&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;</description></item><item><title>Re: Check boxes in a repeating table</title><link>https://www.infopathdev.com:443/forums/thread/31122.aspx</link><pubDate>Fri, 01 Aug 2008 15:14:11 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:31122</guid><dc:creator>Hilary Stoupa</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/31122.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=39&amp;PostID=31122</wfw:commentRss><description>&lt;p&gt;Quadruple check your XPath -- that is where I usually go astray. Make sure your spelling and capitalization is dead on, XPath is really finicky like that.&lt;/p&gt;</description></item><item><title>Re: Check boxes in a repeating table</title><link>https://www.infopathdev.com:443/forums/thread/31118.aspx</link><pubDate>Fri, 01 Aug 2008 14:47:27 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:31118</guid><dc:creator>mjaneczk</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/31118.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=39&amp;PostID=31118</wfw:commentRss><description>&lt;p&gt;Hi Hillary,&lt;/p&gt;
&lt;p&gt;I changed the code to look liek the last line you suggested and it that works.&amp;nbsp; My code looks like:&lt;/p&gt;&lt;font size="2"&gt;
&lt;blockquote&gt;
&lt;blockquote&gt;&lt;/font&gt;&lt;font color="#008080" size="2"&gt;IXMLDOMDocument2&lt;/font&gt;&lt;font size="2"&gt; oSecondDoc = thisXDocument.DOM &lt;/font&gt;&lt;font color="#0000ff" size="2"&gt;as&lt;/font&gt;&lt;font size="2"&gt; &lt;/font&gt;&lt;font color="#008080" size="2"&gt;IXMLDOMDocument2&lt;/font&gt;&lt;font size="2"&gt;;&lt;/font&gt;&lt;/font&gt;&lt;font size="2"&gt; 
&lt;p&gt;oSecondDoc.setProperty(&lt;/font&gt;&lt;font color="#800000" size="2"&gt;&amp;quot;SelectionNamespaces&amp;quot;&lt;/font&gt;&lt;font size="2"&gt;,&lt;/p&gt;&lt;/font&gt;&lt;font color="#800000" size="2"&gt;&amp;quot;xmlns:dfs=&amp;#39; http://schemas.microsoft.com/office/infopath/2003/dataFormSolution&amp;#39;&amp;quot;&lt;/font&gt;&lt;font size="2"&gt;);&lt;/font&gt;&lt;/font&gt;&lt;font size="2"&gt;&lt;/font&gt;&lt;font color="#008080" size="2"&gt;IXMLDOMNodeList&lt;/font&gt;&lt;font size="2"&gt; nodes = oSecondDoc.selectNodes(&lt;/font&gt;&lt;font color="#800000" size="2"&gt;&amp;quot;/dfs:myFields/dfs:dataFields/dfs:Provisioning_Forms&amp;quot;&lt;/font&gt;&lt;font size="2"&gt;);&lt;/font&gt;&lt;/font&gt;&lt;font size="2"&gt; 
&lt;p&gt;thisXDocument.UI.Alert(nodes.length.ToString());&lt;/p&gt;&lt;/font&gt;&lt;font color="#0000ff" size="2"&gt;foreach&lt;/font&gt;&lt;font size="2"&gt; (&lt;/font&gt;&lt;font color="#008080" size="2"&gt;IXMLDOMNode&lt;/font&gt;&lt;font size="2"&gt; node &lt;/font&gt;&lt;font color="#0000ff" size="2"&gt;in&lt;/font&gt;&lt;font size="2"&gt; nodes)&lt;/font&gt;&lt;/font&gt;&lt;font size="2"&gt; 
&lt;p&gt;{&lt;/p&gt;
&lt;p&gt;thisXDocument.UI.Alert(node.text);&lt;/p&gt;
&lt;p&gt;}&lt;/p&gt;&lt;/blockquote&gt;&lt;/blockquote&gt;
&lt;p&gt;Now I am off to my next challenge.&amp;nbsp; The Alert I put up to find the number of nodes is 0.&amp;nbsp; Yet when I display the repeating table it has 2 rows.&amp;nbsp; &lt;/p&gt;&lt;/font&gt;</description></item><item><title>Re: Check boxes in a repeating table</title><link>https://www.infopathdev.com:443/forums/thread/31086.aspx</link><pubDate>Thu, 31 Jul 2008 21:19:33 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:31086</guid><dc:creator>Hilary Stoupa</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/31086.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=39&amp;PostID=31086</wfw:commentRss><description>&lt;p&gt;Hi, Mike:&lt;/p&gt;
&lt;p&gt;In this line, you are setting the namespace to ns1:&lt;/p&gt;
&lt;blockquote&gt;
&lt;p&gt;oSecondDoc.setProperty(&lt;font color="#800000" size="2"&gt;&amp;quot;SelectionNamespaces&amp;quot;&lt;/font&gt;&lt;font size="2"&gt;, &lt;/font&gt;&lt;font color="#800000" size="2"&gt;&amp;quot;xmlns:ns1=&amp;#39; http://schemas.microsoft.com/office/infopath/2003/dataFormSolution&amp;#39;&amp;quot;&lt;/font&gt;&lt;font size="2"&gt;);&lt;/font&gt;&lt;/font&gt;&lt;font size="2"&gt; &lt;/font&gt;&lt;/p&gt;&lt;/blockquote&gt;
&lt;p&gt;But in your XPath to your note, your namespace is dfs:&lt;/p&gt;
&lt;blockquote&gt;
&lt;p&gt;&lt;font color="#008080"&gt;IXMLDOMNodeList&lt;/font&gt;&lt;font size="2"&gt; nodes = oSecondDoc.selectNodes(&lt;/font&gt;&lt;font color="#800000" size="2"&gt;&amp;quot;/dfs:myFields/dfs:dataFields/dfs:Provisioning_Forms&amp;quot;&lt;/font&gt;&lt;font size="2"&gt;);&lt;/font&gt;&lt;/font&gt;&lt;font size="2"&gt; &lt;/font&gt;&lt;/p&gt;&lt;/blockquote&gt;
&lt;p&gt;One of them has to change. If your XPath is right then your namespace when you set the property on oSecondDoc is wrong. You can extract your form files to find your namespaces -- or just change the line to this:&lt;/p&gt;
&lt;blockquote&gt;
&lt;p&gt;oSecondDoc.setProperty(&lt;font color="#800000" size="2"&gt;&amp;quot;SelectionNamespaces&amp;quot;&lt;/font&gt;&lt;font size="2"&gt;, &lt;/font&gt;&lt;font color="#800000" size="2"&gt;&amp;quot;xmlns:dfs=&amp;#39; http://schemas.microsoft.com/office/infopath/2003/dataFormSolution&amp;#39;&amp;quot;&lt;/font&gt;&lt;font size="2"&gt;);&lt;/font&gt;&lt;/font&gt;&lt;font size="2"&gt; &lt;/font&gt;&lt;/p&gt;&lt;/blockquote&gt;
&lt;p&gt;That&amp;#39;s what it is in a form of mine built off a data source.&lt;/p&gt;</description></item><item><title>Re: Check boxes in a repeating table</title><link>https://www.infopathdev.com:443/forums/thread/31084.aspx</link><pubDate>Thu, 31 Jul 2008 20:55:43 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:31084</guid><dc:creator>mjaneczk</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/31084.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=39&amp;PostID=31084</wfw:commentRss><description>&lt;p&gt;The form needs to use InfoPath 2003, but my development environment is InfoPath 2007.&amp;nbsp; (long story).&amp;nbsp; I am using VTSA with C#.&amp;nbsp; &lt;/p&gt;
&lt;p&gt;I have found a basic snippet based on a bunch of reading, so I got past that problem, now I have a new problem.&amp;nbsp; The snippet is here:&lt;/p&gt;&lt;font size="2"&gt;&lt;/font&gt;&lt;font size="2"&gt;
&lt;blockquote&gt;
&lt;blockquote&gt;
&lt;p&gt;&lt;/font&gt;&lt;font color="#008080" size="2"&gt;IXMLDOMDocument2&lt;/font&gt;&lt;font size="2"&gt; oSecondDoc = thisXDocument.DOM &lt;/font&gt;&lt;font color="#0000ff" size="2"&gt;as&lt;/font&gt;&lt;font size="2"&gt; &lt;/font&gt;&lt;font color="#008080" size="2"&gt;IXMLDOMDocument2&lt;/font&gt;&lt;font size="2"&gt;;&lt;/p&gt;oSecondDoc.setProperty(&lt;/font&gt;&lt;font color="#800000" size="2"&gt;&amp;quot;SelectionNamespaces&amp;quot;&lt;/font&gt;&lt;font size="2"&gt;, &lt;/font&gt;&lt;font color="#800000" size="2"&gt;&amp;quot;xmlns:ns1=&amp;#39; http://schemas.microsoft.com/office/infopath/2003/dataFormSolution&amp;#39;&amp;quot;&lt;/font&gt;&lt;font size="2"&gt;);&lt;/font&gt;&lt;/font&gt;&lt;font size="2"&gt; 
&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;/font&gt;&lt;font size="2"&gt;&lt;/font&gt;&lt;u&gt;&lt;font color="#008080" size="2"&gt;IXMLDOMNodeList&lt;/font&gt;&lt;font size="2"&gt; nodes = oSecondDoc.selectNodes(&lt;/font&gt;&lt;font color="#800000" size="2"&gt;&amp;quot;/dfs:myFields/dfs:dataFields/dfs:Provisioning_Forms&amp;quot;&lt;/font&gt;&lt;/u&gt;&lt;font size="2"&gt;&lt;u&gt;);&lt;/u&gt;&lt;/font&gt;&lt;/font&gt;&lt;font size="2"&gt; 
&lt;p&gt;&lt;/font&gt;&lt;font color="#0000ff" size="2"&gt;foreach&lt;/font&gt;&lt;font size="2"&gt; (&lt;/font&gt;&lt;font color="#008080" size="2"&gt;IXMLDOMNode&lt;/font&gt;&lt;font size="2"&gt; node &lt;/font&gt;&lt;font color="#0000ff" size="2"&gt;in&lt;/font&gt;&lt;font size="2"&gt; nodes)&lt;/font&gt;&lt;/p&gt;&lt;font size="2"&gt;{&lt;/font&gt;&lt;font size="2"&gt; 
&lt;p&gt;thisXDocument.UI.Alert(node.text);&lt;/p&gt;
&lt;p&gt;}&lt;/p&gt;&lt;/blockquote&gt;&lt;/blockquote&gt;
&lt;p&gt;This code throws&amp;nbsp;the error: Reference to undeclared namespace prefix: &amp;#39;dfs&amp;#39;. on the underlined line.&amp;nbsp; I am stumped.&amp;nbsp; If I can get to this data source, then I can loop through the selection fields and accomplish&amp;nbsp;both a &amp;quot;select all&amp;quot; button and to write it to a selected list.&amp;nbsp; So, to save my last nerve, please help!&lt;br /&gt;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;/font&gt;</description></item><item><title>Check boxes in a repeating table</title><link>https://www.infopathdev.com:443/forums/thread/31046.aspx</link><pubDate>Wed, 30 Jul 2008 19:25:15 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:31046</guid><dc:creator>mjaneczk</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/31046.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=39&amp;PostID=31046</wfw:commentRss><description>&lt;p&gt;I found a post which got me most of the way to where I need, but not close enough for me, espeically since I am relatively new.&amp;nbsp; &lt;/p&gt;
&lt;p&gt;I need a repeating table which reads from a SharePoint List.&amp;nbsp; In&amp;nbsp;each&amp;nbsp;of the rows I need a checkbox which would allow the user to de/select that row.&amp;nbsp; Upon pressing a button, I need the form to write the selected rows to a list.&amp;nbsp; I am able to create the repeating table which reads from the SharePoint List, and create the select box [I got this to work by creating a Yes/No column in my SP list called &amp;quot;select&amp;quot;, so when I created my repeating table I get the check box).&amp;nbsp; So, my problem now is how to loop through the selected items and write those to another SP list.&amp;nbsp; I beleive I have to write some code to do this; I am new to C#, but not to coding (Java) so this doesn&amp;#39;t scare me.&amp;nbsp; My problem is that I don&amp;#39;t know the object model well enough to know where to begin.&amp;nbsp; Does someone have a code snippet from which I can being?&amp;nbsp; If it would take too long to write a snippet, what object/methods would I use, and I can do the code, and report the solution back here.&amp;nbsp; &amp;nbsp;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;BTW, I&amp;nbsp;also need a &amp;quot;select all&amp;quot; checkbox, which I assume I will be able to develop using the code snippet from above.&amp;nbsp; If not, can I get a snippet of that too?&lt;/p&gt;</description></item></channel></rss>