<?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: Repeating table data not available in offline mode</title><link>https://www.infopathdev.com:443/forums/thread/25608.aspx</link><pubDate>Fri, 11 Jan 2008 21:51:10 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:25608</guid><dc:creator>Clay Fox</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/25608.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=39&amp;PostID=25608</wfw:commentRss><description>&lt;p&gt;Jake.&lt;/p&gt;
&lt;p&gt;Thanks so much for this contribution! Others will really appreciate it.&lt;/p&gt;</description></item><item><title>Re: Repeating table data not available in offline mode</title><link>https://www.infopathdev.com:443/forums/thread/25607.aspx</link><pubDate>Fri, 11 Jan 2008 21:44:10 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:25607</guid><dc:creator>jake.carter</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/25607.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=39&amp;PostID=25607</wfw:commentRss><description>&lt;p&gt;This is no longer needed as I was able to figure it out using Visual Basic code. Here is the code in case anyone else ends up needing it. This will take data returned in a secondary data source and fill a repeating table with the data which is then saved in the main DOM, and available offline.&lt;/p&gt;
&lt;p&gt;For this example I have a secondary data connection called &amp;quot;tbl_SPOC_Hierarchy_Responsibilities&amp;quot;, it has two fields in it, &amp;quot;PERSON_NUMBER&amp;quot; and &amp;quot;HIER_RESP&amp;quot;.&lt;br /&gt;group5 is the name of the repeating table, with two fields, field1 and field2&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;#39;Loop thru data returned to secondary data source and add to local table in Main DOM&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Dim oNodeList As IXMLDOMNodeList&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Dim oNode As IXMLDOMNode&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Dim item As IXMLDOMNode&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Dim oDOM As IXMLDOMDocument2 = CType(thisXDocument.GetDOM(DataConnectionName), IXMLDOMDocument2)&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Dim Value1 As String = &amp;quot;&amp;quot;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Dim Value2 As String = &amp;quot;&amp;quot;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; oDOM.setProperty(&amp;quot;SelectionNamespaces&amp;quot;, &amp;quot;xmlns:d=&amp;quot;&amp;quot;&lt;a href="http://schemas.microsoft.com/office/infopath/2003/ado/dataFields"&gt;http://schemas.microsoft.com/office/infopath/2003/ado/dataFields&lt;/a&gt;&amp;quot;&amp;quot; &amp;quot; &amp;amp; _&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;quot;xmlns:dfs=&amp;quot;&amp;quot;&lt;a href="http://schemas.microsoft.com/office/infopath/2003/dataFormSolution"&gt;http://schemas.microsoft.com/office/infopath/2003/dataFormSolution&lt;/a&gt;&amp;quot;&amp;quot; &amp;quot; &amp;amp; _&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;quot;xmlns:my=&amp;quot;&amp;quot;&lt;a href="http://schemas.microsoft.com/office/infopath/2003/myXSD/2007-08-16T13:30:52"&gt;http://schemas.microsoft.com/office/infopath/2003/myXSD/2007-08-16T13:30:52&lt;/a&gt;&amp;quot;&amp;quot; &amp;quot;)&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; oNodeList = oDOM.selectNodes(&amp;quot;dfs:myFields/dfs:dataFields/d:tbl_SPOC_Hierarchy_Responsibilities&amp;quot;) &amp;#39;secondary data source name&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; If (oNodeList.length &amp;gt; 0) Then&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; For Each oNode In oNodeList&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; For Each item In oNode.attributes&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; If item.nodeName = &amp;quot;PERSON_NUMBER&amp;quot; Then&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Value1 = item.text&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; End If&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; If item.nodeName = &amp;quot;HIER_RESP&amp;quot; Then&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Value2 = item.text&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; End If&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Next&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Dim myclone As IXMLDOMNode&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Dim mynode As IXMLDOMNode = thisXDocument.DOM.selectSingleNode(&amp;quot;/my:myFields/my:group4/my:group5&amp;quot;)&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; myclone = mynode.cloneNode(True)&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; thisXDocument.View.ExecuteAction(&amp;quot;xCollection::insert&amp;quot;, &amp;quot;group5_16&amp;quot;)&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; myclone.selectSingleNode(&amp;quot;/my:field1&amp;quot;).text = Value1&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; myclone.selectSingleNode(&amp;quot;/my:field2&amp;quot;).text = Value2&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Dim parent As IXMLDOMNode = thisXDocument.DOM.selectSingleNode(&amp;quot;/my:myFields/my:group4&amp;quot;)&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; parent.insertBefore(myclone, mynode)&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; thisXDocument.View.ExecuteAction(&amp;quot;xCollection::remove&amp;quot;, &amp;quot;group5_16&amp;quot;)&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Next&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; End If&lt;/p&gt;</description></item><item><title>Re: Repeating table data not available in offline mode</title><link>https://www.infopathdev.com:443/forums/thread/25598.aspx</link><pubDate>Fri, 11 Jan 2008 17:32:34 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:25598</guid><dc:creator>jake.carter</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/25598.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=39&amp;PostID=25598</wfw:commentRss><description>&lt;p&gt;Any help will be appreciated, I&amp;#39;ve spent a while yesterday and today trying to find an example but haven&amp;#39;t turned up anything that has worked yet.&lt;/p&gt;
&lt;p&gt;Thank you&lt;/p&gt;</description></item><item><title>Re: Repeating table data not available in offline mode</title><link>https://www.infopathdev.com:443/forums/thread/25537.aspx</link><pubDate>Thu, 10 Jan 2008 02:36:18 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:25537</guid><dc:creator>Patrick Halstead</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/25537.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=39&amp;PostID=25537</wfw:commentRss><description>&lt;p&gt;We have done this in jscript before, but we&amp;#39;d need to spend some time to find and publish an example. I will ping Agni and see if he can find something. More soon,&lt;/p&gt;</description></item><item><title>Re: Repeating table data not available in offline mode</title><link>https://www.infopathdev.com:443/forums/thread/25536.aspx</link><pubDate>Thu, 10 Jan 2008 02:32:16 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:25536</guid><dc:creator>jake.carter</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/25536.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=39&amp;PostID=25536</wfw:commentRss><description>&lt;p&gt;it was telling me that MainDataSource and NamespaceManager were not declared. I think I found the reason for that though. I had the programming language set to Visual Basic (Infopath 2003 compatible). I switched to just Visual Basic and it worked. Problem is that we have to make it work with 2003. So far all of the visual basic examples I have found call those methods. If there is an example that someone can point me to that uses JScript I can code in that as well.&lt;/p&gt;
&lt;p&gt;Thanks&lt;/p&gt;</description></item><item><title>Re: Repeating table data not available in offline mode</title><link>https://www.infopathdev.com:443/forums/thread/25534.aspx</link><pubDate>Thu, 10 Jan 2008 02:15:49 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:25534</guid><dc:creator>Patrick Halstead</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/25534.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=39&amp;PostID=25534</wfw:commentRss><description>&lt;p&gt;Hi Jake,&lt;/p&gt;
&lt;p&gt;What&amp;#39;s the error message? If you&amp;#39;d like to have one of our InfoPath MVPs help you quickly implement the code to solve your problem, just purchase a support credit from our qdabra.com support site: &lt;a href="http://www.qdabra.com/support.aspx"&gt;http://www.qdabra.com/support.aspx&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Cheers!&lt;/p&gt;</description></item><item><title>Re: Repeating table data not available in offline mode</title><link>https://www.infopathdev.com:443/forums/thread/25533.aspx</link><pubDate>Thu, 10 Jan 2008 00:37:35 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:25533</guid><dc:creator>jake.carter</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/25533.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=39&amp;PostID=25533</wfw:commentRss><description>&lt;p&gt;I don&amp;#39;t know if I&amp;#39;m just searching on the wrong stuff or not knowing exactly what I&amp;#39;m looking for but I cannot find any examples. I understand what you mean about copying the data from the secondary data connection to the main DOM. I did find this &lt;a href="http://enterprise-solutions.swits.net/infopath2007/loop-through-items-repeating-table.htm"&gt;http://enterprise-solutions.swits.net/infopath2007/loop-through-items-repeating-table.htm&lt;/a&gt;&amp;nbsp;which shows how to loop through the items in a repeating table. I think this is getting me close to what I need. I know enough .net code to start from this sample, the problem is that I&amp;#39;m getting an error in visual studio on the &amp;quot;&lt;font size="2"&gt;MainDataSource&amp;quot; and &amp;quot;&lt;font size="2"&gt;NamespaceManager&amp;quot; referenced in the example. I&amp;#39;m thinking that I&amp;#39;m missing an imports statement or missing a reference. I&amp;#39;ve tried adding several and searching for it in other examples but no luck. Any one have an idea?&lt;/font&gt;&lt;/font&gt;&lt;/p&gt;
&lt;p&gt;&lt;font size="2"&gt;&lt;font size="2"&gt;&amp;nbsp;Thanks&lt;/font&gt;&lt;/font&gt;&lt;font size="2"&gt;&lt;font size="2"&gt;&lt;/p&gt;&lt;/font&gt;&lt;/font&gt;</description></item><item><title>Re: Repeating table data not available in offline mode</title><link>https://www.infopathdev.com:443/forums/thread/25528.aspx</link><pubDate>Wed, 09 Jan 2008 22:18:33 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:25528</guid><dc:creator>Clay Fox</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/25528.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=39&amp;PostID=25528</wfw:commentRss><description>&lt;p&gt;Ok Jake.&lt;/p&gt;
&lt;p&gt;If the data from SQL is not being saved into your form, you are just showing them the secondary data then yes it would not be available offline.&amp;nbsp; You would need to move the data into the form itself to be preserved.&amp;nbsp; I know there are some examples here of copying repeating data from a secondary dc to a group in your main DOM.&lt;/p&gt;</description></item><item><title>Re: Repeating table data not available in offline mode</title><link>https://www.infopathdev.com:443/forums/thread/25525.aspx</link><pubDate>Wed, 09 Jan 2008 21:59:47 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:25525</guid><dc:creator>jake.carter</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/25525.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=39&amp;PostID=25525</wfw:commentRss><description>&lt;p&gt;I should have mentioned that they will only be working with a subset of the data. Based on some fields they enter we have pass a custom SQL command to the dataadapter. For example there is a table that holds all of the people in the company, the name, phone, etc. They will fill in a specific hierarchy and get back only the people who are under that particular hierarchy. When online the repeating table displays, what I need is for that same subset of data to be saved when they save it offline. If I have a regular textbox on the same form and enter some text into it, it is saved in the offline version. I guess what I need is a way in the code to copy the data from the repeating table to a code generated table that would then be saved with the form?&lt;/p&gt;</description></item><item><title>Re: Repeating table data not available in offline mode</title><link>https://www.infopathdev.com:443/forums/thread/25524.aspx</link><pubDate>Wed, 09 Jan 2008 21:50:43 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:25524</guid><dc:creator>Clay Fox</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/25524.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=39&amp;PostID=25524</wfw:commentRss><description>&lt;p&gt;Well if they need access to tables with hundreds of thousands of rows when they are offline then they would need to take it with them.&amp;nbsp; No matter when it updates with the backend.&amp;nbsp; Does the form submit to SQL as well?&lt;/p&gt;
&lt;p&gt;They could run SQL Express on their own machines and then sync the data when online is about the only way I can think of.&amp;nbsp; You could probably control the data connections and have an online set and an off-line set but they will get errors when they are off-line.&lt;/p&gt;</description></item><item><title>Repeating table data not available in offline mode</title><link>https://www.infopathdev.com:443/forums/thread/25518.aspx</link><pubDate>Wed, 09 Jan 2008 21:24:52 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:25518</guid><dc:creator>jake.carter</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/25518.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=39&amp;PostID=25518</wfw:commentRss><description>&lt;p&gt;Hi I have a repeating table which is bound to a data connection and getting data from SQL. When the form is run offline the data is not available. Makes perfect sense to me. So I found the options on setting it&amp;nbsp;to be cached, both in Form Options and on the data connection. This works well for small tables. The problem is that I have some tables that contain hundreds of thousands of rows, storing that entire data object with the form won&amp;#39;t work. The users will always be online when first generating the data that will be in the repeating table. What I need is a way to store that data initially and if they are connected to the network let it update, otherwise they get what they had as of the last time they were connected. Can someone please point me to an example of how to do this? Is it something that has to be done in the code?&lt;/p&gt;</description></item></channel></rss>