<?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>General</title><link>https://www.infopathdev.com:443/forums/41.aspx</link><description>If you're not sure where to ask your question, ask it here. If necessary, our moderators will make sure it gets classified in the correct board.</description><dc:language>en</dc:language><generator>CommunityServer 2007 SP3 (Build: 31118.962)</generator><item><title>Re: Views &amp; Main Data Connection</title><link>https://www.infopathdev.com:443/forums/thread/39221.aspx</link><pubDate>Thu, 05 Mar 2009 14:23:20 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:39221</guid><dc:creator>ZaiZai</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/39221.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=39221</wfw:commentRss><description>&lt;p&gt;I was wasn&amp;#39;t able to pin point exactly the cause, but was able to isolate the section that was creating the problem.&amp;nbsp; As a result, I re-created that section and it isn&amp;#39;t an issue now.&amp;nbsp; Thank you.&lt;/p&gt;</description></item><item><title>Re: Views &amp; Main Data Connection</title><link>https://www.infopathdev.com:443/forums/thread/39157.aspx</link><pubDate>Wed, 04 Mar 2009 10:55:19 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:39157</guid><dc:creator>ZaiZai</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/39157.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=39157</wfw:commentRss><description>&lt;p&gt;Here are answers to your two questions:&lt;/p&gt;
&lt;p&gt;You aren&amp;#39;t trying to modify the&amp;nbsp;primary key in any of your rules are you?&amp;nbsp; &lt;/p&gt;
&lt;p&gt;I don&amp;#39;t want to modify the key itself but the fields in that table for that corresponding primary key. &lt;/p&gt;
&lt;p&gt;Could some other app change the data in the DB between the time you opened the form and the time where you tried to submit?&lt;/p&gt;
&lt;p&gt;Yes, changes are occuring on records in the table, but on records that are already in the table (users update the table via another form, but for already existing records only).&amp;nbsp; The issue arises from new records being created during the 1st submit I described previously. &lt;/p&gt;
&lt;p&gt;I hope that I answered these for you.&lt;/p&gt;</description></item><item><title>Re: Views &amp; Main Data Connection</title><link>https://www.infopathdev.com:443/forums/thread/39156.aspx</link><pubDate>Wed, 04 Mar 2009 10:46:16 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:39156</guid><dc:creator>ZaiZai</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/39156.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=39156</wfw:commentRss><description>&lt;p&gt;Hilary,&lt;/p&gt;
&lt;p&gt;Perhaps you will understand better if I explain the workflow.&amp;nbsp; The workflow is for a help desk ticketing process. &lt;/p&gt;
&lt;p&gt;&lt;u&gt;1st Submit&lt;/u&gt;&lt;/p&gt;
&lt;p&gt;Requester fills in requirements&lt;/p&gt;
&lt;p&gt;Clicks &amp;quot;Submit&amp;quot; which does the following via rules: &lt;/p&gt;
&lt;p&gt;Connects to Main Data Connection in SQL (Creates a ticket ID)&lt;/p&gt;
&lt;p&gt;Form is then emailed as an attachement to help desk.&lt;/p&gt;
&lt;p&gt;The form closes.&lt;/p&gt;
&lt;p&gt;&lt;u&gt;2nd Submit&lt;/u&gt;&lt;/p&gt;
&lt;p&gt;Help desk then opens the form from email.&lt;/p&gt;
&lt;p&gt;Clicks a different submit button labeled &amp;quot;Assign&amp;quot; which does the following via rules.&lt;/p&gt;
&lt;p&gt;Connects to Main Data Connection in SQL (SHOULD UPDATE THE RECORD IN SQL)&lt;/p&gt;
&lt;p&gt;The form is then emailed to another group of people as an attachment.&lt;/p&gt;
&lt;p&gt;The form closes.&lt;/p&gt;
&lt;p&gt;The above process did work for a while without the below error&lt;/p&gt;
&lt;p&gt;&lt;span style="FONT-FAMILY:&amp;#39;Calibri&amp;#39;,&amp;#39;sans-serif&amp;#39;;"&gt;&lt;font size="3"&gt;InfoPath cannot submit the form.&lt;br /&gt;&lt;/font&gt;&lt;/span&gt;&lt;span style="FONT-FAMILY:&amp;#39;Calibri&amp;#39;,&amp;#39;sans-serif&amp;#39;;"&gt;&lt;font size="3"&gt;An error occurred while the form was being submitted.&lt;br /&gt;&lt;/font&gt;&lt;/span&gt;&lt;span style="FONT-FAMILY:&amp;#39;Calibri&amp;#39;,&amp;#39;sans-serif&amp;#39;;"&gt;&lt;font size="3"&gt;[0x80040E38][Microsoft Cursor Engine] Row cannot be located for updating. Some values may have been changed since it was last read.&lt;/font&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;but after some changes to the form it now won&amp;#39;t let the record be updated.&amp;nbsp; These changes, to my knowledge, are normal design changes that relate to look and feel of the form. I don&amp;#39;t beleive that any changes that may have invited this error was done.&amp;nbsp; Well, at least I don&amp;#39;t think so anyway.&amp;nbsp; &lt;/p&gt;
&lt;p&gt;Question: Why would a form with this setup work one day and not the next? &lt;/p&gt;
&lt;p&gt;I did research and read an article in this forum about creating a query button and having the user click that query button before makeing updates and submitting.&amp;nbsp; This works but is totally not going to be something I want to have users do all the time.&amp;nbsp; &lt;/p&gt;
&lt;p&gt;What advice can you provide me after reading this response?&lt;/p&gt;
&lt;p&gt;Thank you Hilary.&lt;/p&gt;</description></item><item><title>Re: Views &amp; Main Data Connection</title><link>https://www.infopathdev.com:443/forums/thread/39135.aspx</link><pubDate>Tue, 03 Mar 2009 21:08:35 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:39135</guid><dc:creator>Hilary Stoupa</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/39135.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=39135</wfw:commentRss><description>&lt;p&gt;Actually, I haven&amp;#39;t run into this before. I&amp;#39;ve build database bound forms with multiple views and have not had an error on submit. You aren&amp;#39;t trying to modify the&amp;nbsp; primary key in any of your rules are you? Could some other app change the data in the DB between the time you opened the form and the time where you tried to submit?&lt;/p&gt;</description></item><item><title>Views &amp; Main Data Connection</title><link>https://www.infopathdev.com:443/forums/thread/39112.aspx</link><pubDate>Tue, 03 Mar 2009 13:26:17 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:39112</guid><dc:creator>ZaiZai</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/39112.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=39112</wfw:commentRss><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;I have found that a submit action to a main data connection from a secondary view doesn&amp;#39;t work.&amp;nbsp; I guess I am learning here about views and what there limitations are.&amp;nbsp; Can someone confirm that this is the case? Submit actions to the main data connection only work on 1 view.&amp;nbsp; &lt;/p&gt;
&lt;p&gt;If this isn&amp;#39;t the case, can someone explain to me why when I remove the submit to the main data connection in my second view the buttons work? The button only has now submit actions via Email and doesn&amp;#39;t include any connections to the main data connections (SQL). The emails work great. &lt;/p&gt;
&lt;p&gt;The error that I was receiving was &lt;/p&gt;
&lt;p&gt;&lt;span style="FONT-FAMILY:&amp;#39;Calibri&amp;#39;,&amp;#39;sans-serif&amp;#39;;"&gt;&lt;font size="3"&gt;InfoPath cannot submit the form.&lt;br /&gt;&lt;/font&gt;&lt;/span&gt;&lt;span style="FONT-FAMILY:&amp;#39;Calibri&amp;#39;,&amp;#39;sans-serif&amp;#39;;"&gt;&lt;font size="3"&gt;An error occurred while the form was being submitted.&lt;br /&gt;&lt;/font&gt;&lt;/span&gt;&lt;span style="FONT-FAMILY:&amp;#39;Calibri&amp;#39;,&amp;#39;sans-serif&amp;#39;;"&gt;&lt;font size="3"&gt;[0x80040E38][Microsoft Cursor Engine] Row cannot be located for updating. Some values may have been changed since it was last read.&lt;/font&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="FONT-FAMILY:&amp;#39;Calibri&amp;#39;,&amp;#39;sans-serif&amp;#39;;"&gt;&lt;font size="3"&gt;My intentions of the second view was to organize the main view a bit, but I might have to put it back into the main view so that the submit actions work with the connections to the main data connection.&lt;/font&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="FONT-FAMILY:&amp;#39;Calibri&amp;#39;,&amp;#39;sans-serif&amp;#39;;"&gt;&lt;font size="3"&gt;Are there any workarounds to include a second view and have the submit actions work to the main data connection?&lt;/font&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="FONT-FAMILY:&amp;#39;Calibri&amp;#39;,&amp;#39;sans-serif&amp;#39;;"&gt;&lt;font size="3"&gt;Thanks everyone.&lt;/font&gt;&lt;/span&gt;&lt;/p&gt;</description></item></channel></rss>