<?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>Data Connections</title><link>https://www.infopathdev.com:443/forums/44.aspx</link><description> </description><dc:language>en</dc:language><generator>CommunityServer 2007 SP3 (Build: 31118.962)</generator><item><title>Re: InfoPath cannot update the data, because the form is currently read-only</title><link>https://www.infopathdev.com:443/forums/thread/34329.aspx</link><pubDate>Sun, 16 Nov 2008 07:20:11 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:34329</guid><dc:creator>amitshrivastava</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/34329.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=44&amp;PostID=34329</wfw:commentRss><description>&lt;p&gt;Finally figured this out, my code was tied to &amp;quot;On Validate&amp;quot; event of the repeating table text box, seems Infopath puts the form in ReadOnly mode during validate event. &lt;strong&gt;&lt;em&gt;&lt;u&gt;After I tied my code to &amp;quot;After Change&amp;quot; event it worked like it should&lt;/u&gt;&lt;/em&gt;&lt;/strong&gt;, juts took whole of my Saturday for me nail this down :(. &lt;/p&gt;</description></item><item><title>InfoPath cannot update the data, because the form is currently read-only</title><link>https://www.infopathdev.com:443/forums/thread/34324.aspx</link><pubDate>Sat, 15 Nov 2008 20:04:32 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:34324</guid><dc:creator>amitshrivastava</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/34324.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=44&amp;PostID=34324</wfw:commentRss><description>&lt;p&gt;folks need your help.. here is what I am having (as an experiment for some other complex form)&lt;/p&gt;
&lt;p&gt;1. Form connected to SQL2005 DB with submit option enabled and is based on a simple table with two columns (a,b)&lt;/p&gt;
&lt;p&gt;2. Form contains repeating table to show data from SQL table which users can update. I am able to manuall update the data values in form and submit it to DB.&lt;/p&gt;
&lt;p&gt;3. Now I am trying the validate event tied to column b of repeating table with sole purpose of programatically set the value of this field to something (e.g. test). But when I run the form, I get &amp;quot;InfoPath cannot update the data, because the form is currently read-only&amp;quot;, Why ? When I am able to perform the same action manually ??&lt;/p&gt;
&lt;p&gt;Appreciate your help in understanding / resolving this.&lt;/p&gt;</description></item></channel></rss>